Skip to content
Newer
Older
100644 28 lines (17 sloc) 914 Bytes
c5c8e5f @ekmett repository initialized
authored Jul 25, 2012
1 lens
2 ====
3
4 [![Build Status](https://secure.travis-ci.org/ekmett/lens.png?branch=master)](http://travis-ci.org/ekmett/lens)
5
7732b26 @ekmett Predicative types
authored Jul 31, 2012
6 This package provides families of lenses, isomorphisms, folds, traversals, getters and setters.
a913fb6 @ekmett reduced snark
authored Jul 28, 2012
7
9af3f66 @ekmett metadata
authored Jul 31, 2012
8 These lenses are compatible with those from lens-family, lens-family-core and lens-family-th,
9 but they provide a great deal of additional flexibility in their composition.
10
b65890a @ekmett tutorial link
authored Aug 8, 2012
11 An overview of the derivation of setters, folds, traversals, getters and lenses can be found on the lens wiki under [Tutorial](https://github.com/ekmett/lens/wiki/Tutorial).
12
9af3f66 @ekmett metadata
authored Jul 31, 2012
13 Example
14 -------
15
ed45b94 @michaelt markdown code syntax
michaelt authored Aug 6, 2012
16 ghci> :m + Control.Lens Data.Text.Lens
17 ghci> anyOf (traverse.text) (=='y') ["hello"^.packed, "goodbye"^.packed]
18 True
c5c8e5f @ekmett repository initialized
authored Jul 25, 2012
19
20 Contact Information
21 -------------------
22
23 Contributions and bug reports are welcome!
24
25 Please feel free to contact me through github or on the #haskell IRC channel on irc.freenode.net.
26
27 -Edward Kmett
Something went wrong with that request. Please try again.