Current section
Files
Jump to
Current section
Files
src/fp2@predicate.erl
-module(fp2@predicate).
-compile(no_auto_import).
-export(['not'/1]).
-spec 'not'(fun((ENV) -> boolean())) -> fun((ENV) -> boolean()).
'not'(Predicate) ->
fun(A) -> not Predicate(A) end.