[ library(apply_macros) | Reference Manual | Alphabetic Index ]

selectlist(+Pred, +ListIn, ?ListOut)

Creates output list of all list elements that pass a given test

Modules

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

Examples

selectlist(<(0), [1,0,-2,3], [1,3]).