name: lens-family-simple version: 0.1.0.0 synopsis: simplified import of lens-family description: This module, @Lens.Simple@, 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 . All other dependencies are ghc boot libraries. . The idea is just to make a lens-family equivalent of @import Control.Lens@ \-\- namely, @import Lens.Simple@. . As an illustration, note that the exemplary module from the @lens@ repository compiles with only this change of imports. When one day the need arises for the unfathomably more sophisticated material in @Control.Lens@, the opposite change of imports will tend be all that is necessary to begin using them. . There are caveats, of course. The @zoom@ exported here does not use @MonadState@ from @mtl@ but is specialized to @Control.Monad.Trans.State.Strict@ 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 abbreviate the error messages. homepage: https://github.com/michaelt/lens-family-simple license: BSD3 license-file: LICENSE author: Michael Thompson maintainer: what_is_it_to_do_anything@yahoo.com category: Lenses build-type: Simple extra-source-files: README.md cabal-version: >=1.10 library exposed-modules: Lens.Simple -- other-modules: -- other-extensions: build-depends: base == 4.*, lens-family-core == 1.2.*, lens-family-th == 0.4.* -- hs-source-dirs: default-language: Haskell2010