Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- map {A B:Type} (fn:A->B) (ls:list A) : list B
- case ls of
- [] -> []
- x::xs -> fn x :: map fn xs
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement