Noogλe
search input
Function of the day
Takes 2 arguments
pred, list
Returns true if function
predreturns true for all elements oflist.Inputs
pred-
Predicate
list-
Input list
Type
all :: (a -> Bool) -> [a] -> BoolExamples
lib.lists.allusage exampleall (x: x < 3) [ 1 2 ] => true all (x: x < 3) [ 1 2 3 ] => false