MapWith breaking changes

hackage

5 curated breaking changes across major versions of MapWith. Use this as a migration checklist before bumping dependencies.

5
changes
Breaking changes by transition
  • 0.1.0.0 \u2192 0.2.0.0breaking

    eltFrom (& similar) now consume a List, not a Foldable. (They never used any features of Foldables, other than converting them to a list).

  • 0.1.0.0 \u2192 0.2.0.0breaking

    Injector functions have two changes. To convert Injectors, change `(\a s -> ... (i, s'))` to `(\a s -> ... (s', app1 i))`:

  • 0.1.0.0 \u2192 0.2.0.0breaking

    the order of the output pair is reversed for consistancy with state transformers, `mapAccumL`, etc. It's now `(new-state, injection-values)`.

  • 0.1.0.0 \u2192 0.2.0.0breaking

    the injector types and values now need to be instances of CurryTF.

  • 0.1.0.0 \u2192 0.2.0.0breaking

    Improved documentation including examples and benchmark stats.

API access

Get this data programmatically \u2014 free, no authentication.

curl https://depscope.dev/api/breaking/hackage/MapWith
MapWith breaking changes — Hackage migration guide | DepScope