MapWith v0.2.0.0 Release Notes

Release Date: 2020-08-25 // over 3 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.
    • ๐Ÿ‘Œ 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.