[ library(apply_macros) | The ECLiPSe Libraries | Reference Manual | Alphabetic Index ]

maplist(+Pred, +ListIn, ?ListOut)

Create new list by applying a predicate to all list elements

Examples

maplist(times(3), [1,2,3,4], [3,6,9,12]).