Up

listmap Scol 5.3 or above required

Performs a map from a list. Create a new list from an existed list : each element is treated by a function and the result put in the new list.

Prototype :

fun [fun [u0] u1 [u0 r1]] [u1 r1]

Return : [u1 r1] the new mapped list or nil if error

See also :

forList (Syspack)

Example :