remp


remp(f, xs)
      

Return a list containing the elements of xs for which the predicate f returns false.

The predicate f should accept one argument and return a single value. It should not modify xs.

Examples:


remp(is_odd, [1, 2, 3, 4, 5])
// [2, 4]
      

Also see:

remove
filter


Core Module Index | Contents