package accessor
A library that makes it nicer to work with nested functional data structures
Install
Dune Dependency
Authors
Maintainers
Sources
accessor-v0.16.0.tar.gz
sha256=a37b678d4b0d9ee119bbad2ec0354850672144bb74df5a27f33156ce20e96215
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: 14 Jun 2023
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 (5)
-
dune
>= "2.0.0"
-
ppx_jane
>= "v0.16" & < "v0.17"
-
higher_kinded
>= "v0.16" & < "v0.17"
-
base
>= "v0.16" & < "v0.17"
-
ocaml
>= "4.14.0"
Dev Dependencies
None
Used by (2)
-
accessor_base
= "v0.16.0"
-
ppx_accessor
>= "v0.16.0" & < "v0.17.0"
Conflicts
None
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page