[ 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

Modules

This predicate is sensitive to its module context (tool predicate, see @/2).

Examples

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