name: lens-simple version: 0.1.0.3 synopsis: simplified import of elementary lens-family combinators description: This module, , just re-exports the main modules from Russell O\'Connor's package, the original library. @Lens.Simple@ also re-exports @makeLenses@ and other TH incantations from Dan Burton's associated . The idea is just to make a sort of low-powered, minimal-dependency @lens-family@ equivalent of . > import Control.Lens . namely: . > import Lens.Simple . Check it out, it's even one character shorter! . As an illustration of the power of even these elementary combinators, note that the from the @lens@ library requires only this abbreviating change of imports. If you care to make that program more complicated, you might at some point need the unfathomably more sophisticated material in @Control.Lens@. Because @lens-family@ accords as far as possible, with @Control.Lens@, within its more limited sphere, a change of imports will often be all that is necessary to begin using them. . It is rarely necessary to exceed the materials exported here when using the lenses and quasi-lenses exported by e.g. or . It is simplify the use of such that this module was originally intended. . Note that many of the other lenses and combinators are a bit more specialized than their @Control.Lens@ equivalents: for example, _1 and _2 are here familiarly specialized to act just on real Haskell pairs. With the loss of abstraction we also of course lose the concomitant opaque error messages about @Field1 s t a b@ etc. homepage: https://github.com/michaelt/lens-simple license: BSD3 license-file: LICENSE author: michaelt maintainer: what_is_it_to_do_anything@yahoo.com copyright: Copyright (C) 2012,2013,2014 Russell O'Connor, 2014 michaelt category: Lenses build-type: Simple extra-source-files: README.md cabal-version: >=1.10 source-repository head type: git location: https://github.com/michaelt/lens-simple library exposed-modules: Lens.Simple build-depends: base >= 4 && < 5 , lens-family == 1.2.* , lens-family-core == 1.2.* , lens-family-th == 0.4.* default-language: Haskell2010