Map Function
Applies a function to each element of a list.
let rec map f lst = match lst with
[] -> []
|x::xs -> (f x)::(map xs)
('a -> 'b) -> 'a list -> 'b list = <fun>Similar to
void map(final Function<T> f, final T x) {
Iterable.forEach(x -> f(x))
}