Returns f
applied to contents if non-empty, otherwise the zero of B
.
Returns f
applied to contents if non-empty, otherwise the zero of B
.
All of the B
s, in order, and the final C
acquired by a stateful left fold over as
.
All of the B
s, in order, and the final C
acquired by a stateful left fold over as
.
All of the B
s, in order as
-wise, and the final C
acquired by a stateful right fold over as
.
All of the B
s, in order as
-wise, and the final C
acquired by a stateful right fold over as
.
Unlike stdlib's version, this is total and simply ignores indices that are out of range
Unlike stdlib's version, this is total and simply ignores indices that are out of range