changeset-containers

Stateful monad transformer based on monoidal actions

Stackage Nightly 2026-06-30:0.2.2
Latest on Hackage:0.2.2

See all snapshots changeset-containers appears in

MIT licensed by Manuel Bärenz
Maintained by [email protected]
This version can be pinned in stack with:changeset-containers-0.2.2@sha256:c28e9f174ab40ad04a375ffb4302483abef0056f1e548ab4e80356a267f6ad49,2419

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. This package exposes typical changes for containers such as maps, sequences, and sets. To change individual elements of a container, have a look at the indexed changes in changeset-lens.

Changes

Revision history for changeset

0.1.1

  • Add RestrictKeys and WithoutKeys changes