Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let rec map = fun f -> fun x -> if (x = []) then []
- else f(head(x)) :: (map f (tail(x)))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement