foldl1 package:rio
foldl1 is a variant of
foldl that has no starting value
argument, and thus must be applied to non-empty
ByteStrings.
foldl1 is a variant of
foldl that has no starting value
argument, and thus must be applied to non-empty
ByteStrings.
An exception will be thrown in the case of an empty ByteString.
A variant of
foldl that has no base case, and thus may only be
applied to non-empty structures.
foldl1 f = foldl1 f . toList
O(n) A variant of
foldl that has no starting value
argument, and thus must be applied to a non-empty
Text. Subject
to fusion.
O(n) Left fold on non-empty vectors
O(n) Left fold on non-empty vectors
O(n) Left fold on non-empty vectors
O(n) Left fold on non-empty vectors
foldl1' is like
foldl1, but strict in the accumulator.
An exception will be thrown in the case of an empty ByteString.
O(n) A strict version of
foldl1. Subject to fusion.
O(n) Left fold on non-empty vectors with strict accumulator
O(n) Left fold on non-empty vectors with strict accumulator
O(n) Left fold on non-empty vectors with strict accumulator
O(n) Left fold on non-empty vectors with strict accumulator
A variant of
bifoldl that has no base case, and thus may only
be applied to non-empty structures.