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.14.0.tar.gz
sha256=9b93c84b9bafd079c11f149bce573a98faefe9f5c59c25f66f3970debc24962d
md5=17b942f0e4c1d0bb82a0223015aa4b1d

Description

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.

Published: 31 May 2020

README

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.

Dependencies (2)

  1. dune >= "2.0.0"
  2. ocaml >= "4.09.0"

Dev Dependencies

None

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.