A Racket package for creating and composing pure functional lenses
Go to file
Jack Firth 5b8b810452 Merge pull request #60 from jackfirth/fix-travis-build-#59
Restrict push builds to master
2015-07-06 17:08:57 -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 Restrict push builds to master 2015-07-06 17:00:35 -07:00
info.rkt Add version 2015-07-06 16:55:41 -07:00
README.md Update README.md 2015-07-06 17:03:10 -07:00

lenses Build Status Coverage Status Stories in Ready

Documentation

A Racket package for creating and composing pure functional lenses.

A lens is a value that can be used to focus on a small subpiece of some larger structure. Given a lens and a value of that larger structure, two values can be dervied: 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.