You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add convenient specializations of L.forEachWith to e.g. collect pairs as an object or a Map or values as a Set. Consider draft L.collectObjectFromPairs, but likely the API for this might be more like e.g. into from Ramda like in this draft L.into.
Additional traversal "modifiers" e.g. draft uniq and scan modifiers.
Under consideration
Async versions of folds, see More support for asynchronous operations #210.
Add convenient specializations of
L.forEachWith
to e.g. collect pairs as an object or a Map or values as a Set. Consider draftL.collectObjectFromPairs
, but likely the API for this might be more like e.g.into
from Ramda like in this draftL.into
.Additional traversal "modifiers" e.g. draft
uniq
andscan
modifiers.Adding side-effects:
Convenience:
Enhance
L.mapping
andL.pattern
:L.mapping
.Isomorphisms between numbers and strings:
Total variants of traversals (where
undefined
array elements are not dropped):Implemented
Handy special case of
L.satisfying
:For convenience, support implicit compose in
L.partsOf
:Lenses for special updates:
Iso combinators on arrays:
Iso combinator to restrict to a subset by pattern matching.
Combinator to ignore props of an object:
Isomorphism combinators:
Dropped
Iso combinator to attempt an iso:
It seems better to push the attempt behaviour into elimination forms like
attemptEveryUp
so that alternatives remain composable.To convert a traversal addressing a single element to a lens:
There seem to be better ways.
The text was updated successfully, but these errors were encountered: