Applies the function aFun to each element of the list aList and returns the list of the results
aFun
aList
the list to consider
a mapping function applied to each element of aList
the list of the results
listMap(cons(1, cons(2, nil)), (z) => `${z}`); // -> cons("1", cons("2", nil)) Copy
listMap(cons(1, cons(2, nil)), (z) => `${z}`); // -> cons("1", cons("2", nil))
Applies the function
aFun
to each element of the listaList
and returns the list of the results