HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Package1.0.3.2ContainersData

focus

A general abstraction for manipulating elements of container data structures

Modules

1 module

Description

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.

Depends on

2 packages

Used by in this set · 0

Nothing in this set depends on it.