packages feed

lens-family-core 0.0.0 → 0.0.1

raw patch · 3 files changed

+13/−3 lines, 3 filesdep ~containersPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: containers

API changes (from Hackage documentation)

Files

CHANGELOG view
@@ -0,0 +1,4 @@+0.0.1 (Changes from 0.0.0)+=========================+* Bump dependency on containers+* Fixed dependency on mtl
lens-family-core.cabal view
@@ -1,6 +1,6 @@ name:               lens-family-core category:           Data-version:            0.0.0+version:            0.0.1 license:            BSD3 cabal-version:      >= 1.6 license-file:       LICENSE@@ -12,7 +12,7 @@ description:        Haskell 98 Lens Families build-type:         Simple extra-source-files: CHANGELOG-description:        This package provide first class(†) functional references.+description:        This package provides first class(†) functional references.                     In addition to the usual operations of getting, setting and composition, plus integration with the state monad, lens families provide some unique features:                     .                     * Polymorphic updating@@ -31,7 +31,7 @@ library   build-depends:     base                 >= 4       && < 5,-    containers           >= 0.3     && < 0.5,+    containers           >= 0.3     && < 0.6,     transformers         >= 0.2.0   && < 0.4    exposed-modules:
src/Lens/Family/Unchecked.hs view
@@ -18,6 +18,12 @@ -- To use this template, you do not need anything from this module other than the type synonyms 'LensFamily' and 'Lens', and even they are optional. -- See the @lens-family-th@ package to generate this code using Template Haskell. --+-- /Note/: It is possible to build lenses without even depending on @lens-family-core@ by expanding away the type synonym.+--+-- > -- A lens definition that only requires the Haskell "Prelude".+-- > myA :: Functor f => (a -> f a') -> (MyRecord a) -> f (MyRecord a')+-- > myA f (MyRecord a b) = (\a' -> MyRecord a' b) `fmap` (f a)+-- -- You can build lenses for more than just fields of records. -- Any value @lens :: Functor f => LensFamily f a a' b b'@ is well-defined when it satisfies the two van Laarhoven lens laws: --