Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

metadata

  • Loading branch information...
commit 9af3f66eeae00bb922a52eafcf7993e1a1a65046 1 parent 9549298
@ekmett authored
Showing with 11 additions and 5 deletions.
  1. +9 −2 README.markdown
  2. +2 −3 lens.cabal
View
11 README.markdown
@@ -5,8 +5,15 @@ lens
This package provides families of lenses, isomorphisms, folds, traversals, getters and setters.
-These lenses are compatible with those from lens-family, lens-family-core, lens-family-th and from polylens, but
-provide additional flexibility in their composition.
+These lenses are compatible with those from lens-family, lens-family-core and lens-family-th,
+but they provide a great deal of additional flexibility in their composition.
+
+Example
+-------
+
+> ghci> :m + Control.Lens Data.Text.Lens
+> ghci> anyOf text (=='e') $ packed ^$ "hello"
+> True
Contact Information
-------------------
View
5 lens.cabal
@@ -10,7 +10,7 @@ stability: provisional
homepage: http://github.com/ekmett/lens/
bug-reports: http://github.com/ekmett/lens/issues
copyright: Copyright (C) 2012 Edward A. Kmett
-synopsis: Families of Lenses, Folds and Traversals
+synopsis: Lenses, Folds and Traversals
description:
The combinators in @Control.Lens@ provide a highly generic toolbox for composing
families of getters, folds, traversals, setters and lenses.
@@ -203,8 +203,7 @@ library
TypeOperators
if (impl(ghc>=7.4))
- other-extensions:
- Trustworthy
+ other-extensions: Trustworthy
ghc-options: -Wall -fwarn-tabs -O2 -fdicts-cheap -funbox-strict-fields
hs-source-dirs: src
Please sign in to comment.
Something went wrong with that request. Please try again.