filter
lib.filter
Primop
Docs pulled from | This Revision | 10 minutes ago
Takes 2 arguments
f, list
Return a list consisting of the elements of list for which the
function f returns true
.
Noogle detected
Detected Type
filter :: (a -> Bool) -> [a] -> [a]
Implementation
This function is implemented in c++ and is part of the native nix runtime.