MapWith v0.2.0.0 Release Notes
Release Date: 2020-08-25 // about 4 years ago-
- ๐ Significant performance improvements (including fusion)
- ๐ New Features:
- An Injector can inject multiple values (for example adj2Elts)
- New Injectors:
- evenElt
- foldlElts and foldl1Elts
- adj2Elts
- New utility functions:
- withFirst
- withLast
- ๐ฅ Breaking Changes:
- eltFrom (& similar) now consume a List, not a Foldable. (They never used any features of Foldables, other than converting them to a list).
- Injector functions have two changes. To convert Injectors, change
(\a s -> ... (i, s'))
to(\a s -> ... (s', app1 i))
:- the order of the output pair is reversed for consistancy with state transformers,
mapAccumL
, etc. It's now(new-state, injection-values)
. - the injector types and values now need to be instances of CurryTF.
- the order of the output pair is reversed for consistancy with state transformers,
- ๐ Improved documentation including examples and benchmark stats.
- โ Also tested in GHC 8.10.1
Previous changes from v0.1.0.0
-
I think the library & exports are (reasonably):
- ๐ useful
- usable
- documented
- performant
- named
- โ tested by travis.
So I'll tag it, publish, and attempt a Hackage upload.