Package Info

ghc-focus


A general abstraction for manipulating elements of container data structures


System/Libraries

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.


License: MIT
URL: https://hackage.haskell.org/package/focus

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
0.1.5-bp150.1.3 info GA Release 2018-07-30 15
  • AArch64
  • ppc64le
  • x86-64
  • ghc-focus
  • ghc-focus-devel