A Racket package for creating and composing pure functional lenses
Go to file
2015-08-19 18:51:40 -04:00
lens Merge pull request #155 from jackfirth/fix-list-docs 2015-08-19 15:05:29 -07:00
unstable provide and document mapper-lens 2015-08-19 18:51:40 -04:00
.gitignore Add documentation coverage test, remove undocumented exports 2015-07-06 12:52:04 -07:00
.travis.yml put raco cover in after_success 2015-08-19 13:25:04 -04:00
info.rkt Bump version 2015-08-19 10:42:07 -07:00
README.md Update README.md 2015-08-19 10:52:18 -07:00

lens Build Status Coverage Status Stories in Ready

Documentation: lens unstable/lens

Latest Version: 2.0

A Racket package for creating and composing pure functional lenses.

raco pkg install lens (require lens)

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.

Contributions

This project uses Github issues organized by a Waffle board to track what's being worked on. Check the board to see if there's any features, bugs, etc. that interest you, or create a new Github issue to inquire about something you'd like to see changed.