A Racket package for creating and composing pure functional lenses
Go to file
Jack Firth 1271fac527 Merge pull request #57 from lexi-lambda/document-lens-thrush
Add documentation for and expose lens-thrush
2015-07-06 16:12:35 -07:00
lenses Add documentation for and expose lens-thrush 2015-07-06 16:09:31 -07:00
.gitignore Add documentation coverage test, remove undocumented exports 2015-07-06 12:52:04 -07:00
.travis.yml Add package scaffold 2015-02-21 22:16:48 -08:00
info.rkt Add documentation coverage test, remove undocumented exports 2015-07-06 12:52:04 -07:00
README.md Fix travis badge 2015-07-06 16:51:41 -04:00

lenses Build Status Coverage Status Stories in Ready

Documentation

A Racket package for creating and composing pure functional lenses. A lens is a function that examines a small subpiece of some larger structure. When given a value of that larger structure, the lens returns two values: a view value, which is the subpiece, and a context function, which accepts a new view value and returns a new structure with the old view replaced by the new view. Think of them as composable, pure functional getters and setters. Examples can be found in the documentation.