changeset

Stateful monad transformer based on monoidal actions

Stackage Nightly 2025-12-20:0.1.1
Latest on Hackage:0.1.1

See all snapshots changeset appears in

MIT licensed by Manuel Bärenz
Maintained by [email protected]
This version can be pinned in stack with:changeset-0.1.1@sha256:fd48abfeb192304f790517d527e2e40d42450557493678eacfb1eb3166a1b191,3175

Module documentation for 0.1.1

A general state monad transformer with separate types for the state and the possible changes. It can be defined for any monoid action. The monoid represents "changes", "updates", "edits" or "diffs" on the state. The changeset ecosystem has support for standard containers and optics from lens by providing the packages changeset-containers and changeset-lens.

Changes

Revision history for changeset

0.1.1

  • Add support for generic deriving
  • Add RightTorsor class
  • Add support for FunctorWithIndex, Semialign, and Filterable
  • Default methods for MonadChangeset
  • Document MonadChangeset laws