query
On this page

filter

lib.strings.filter

Primop
Docs pulled from | This Revision | 22 minutes ago

Takes 2 arguments

f, list


Return a list consisting of the elements of list for which the function f returns true.


Noogle also knows

Aliases
Detected Type
filter :: (a -> Bool) -> [a] -> [b]