@hackage / changeset-containers

Stateful monad transformer based on monoidal actions

Latest0.2

About

Metadata

  • Last updated , by turion
  • License MIT
  • Maintained by: programming@manuelbaerenz.de

  • Lottery factor: 1

Links

Installation

Package Flags

Use the -f option with cabal commands to enable flags

    dev (off by default)

    Enable warnings as errors. Active on ci.

Readme

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.