takeWhileL -package:nonempty-containers
where <math> is the prefix length.
takeWhileL, applied to a predicate
p and a sequence
xs, returns the longest prefix (possibly empty) of
xs of elements that satisfy
p.
Similar to
takeWhile, takes elements while the func is true.
The function is given the remainder of the list to examine.
Take all consecutive elements at the end of the stream for which the
predicate is true.
O(n) space, where n is the number elements taken.
Unimplemented
Take all consecutive elements at the end of the stream for which the
predicate is true.
O(n) space, where n is the number elements taken.
Unimplemented