alias for concat
alias for prepend
alias for foldLeft
alias for foldRight
Returns f applied to contents if non-empty, otherwise the zero of B.
All of the Bs, in order, and the final C acquired by a stateful left fold over as.
All of the Bs, in order as-wise, and the final C acquired by a stateful right fold over as.
Referentially transparent replacement for traverse, specialised to disjunction.
Unlike stdlib's version, this is total and simply ignores indices that are out of range
Safe, invariant alternative to stdlib
List. Most methods onListhave a sensible equivalent here, either on theIListinterface itself or via typeclass instances (which are the same as those defined for stdlibList). All methods are total and stack-safe.