λ v5.3.0 Release Notes
Release Date: 2020-12-07 // over 3 years ago-
🔄 Changed
IterateT#unfold
now only computes a singlePure
for the given inputReaderT#fmap
andStateT#fmap
avoid unnecessary calls topure
MaybeT
implementsMonadError
➕ Added
$
, function application represented as a higher-orderFn2
Fn1#withSelf
, a static method for constructing a self-referencingFn1
HNil/SingletonHList/TupleX#snoc
, a method to add a new last element (append to a tuple)Tuple2-8#init
, for populating aTupleN
with all but the last element
🛠 Fixed
IterateT#trampolineM
now yields and stages all recursive result values, rather than prematurely terminating on the first termination resultIterateT#flatMap
is now stack-safe regardless of how many consecutive emptyIterateT
s are returned and regardless of whether the monad is strict or lazy or internally trampolined