package accessor

  1. Overview
  2. Docs
A library that makes it nicer to work with nested functional data structures

Install

Dune Dependency

Authors

Maintainers

Sources

accessor-v0.15.0.tar.gz
sha256=435b0bd1466d826b26f9beff4b629dbbf85abe676bb117effab81ca897c5f0b3

README.org.html

README.org

The ~Accessor~ library makes it nicer to work with nested functional data
structures.

An accessor is a value that understands how to reach data within a
larger data structure, independently from what you intend to do with
it. Accessors allow you to read and write data and perform
possibly-monadic traversals. By composing accessors, you can work with
increasingly complex data structures.

In case you have ever heard of "lenses", this is an OCaml
implementation of that idea.

See the [[./doc/tutorial.mdx][tutorial]] for more information.