A general abstraction for manipulating elements of container data structures
|Version on this page:||1.0.3|
|LTS Haskell 20.16:||1.0.3|
|Stackage Nightly 2023-04-01:||184.108.40.206|
|Latest on Hackage:||220.127.116.11|
This version can be pinned in stack with:
Module documentation for 1.0.3
Depends on 2 packages(full list with versions):
Used by 5 packages in nightly-2023-02-04(full list with versions):
An API for construction of free-form strategies of access and manipulation of elements of arbitrary data structures. It allows to implement efficient composite patterns, e.g., a simultaneous update and lookup of an element, and even more complex things.
Strategies are meant to be interpreted by the host data structure libraries. Thus they allow to implement all access and modification patterns of a data structure with just a single function, which interprets strategies.
This library provides pure and monadic interfaces, so it supports both immutable and mutable data structures.