packages feed

lens 3.7.3 → 3.7.4

raw patch · 3 files changed

+15/−1 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

+ Control.Lens.Loupe: cloneLens :: Functor f => LensLike (Context a b) s t a b -> (a -> f b) -> s -> f t
+ Control.Lens.Loupe: type ALens s t a b = Loupe s t a b
+ Control.Lens.Loupe: type ALens' s a = Loupe s s a a

Files

CHANGELOG.markdown view
@@ -1,3 +1,7 @@+3.7.4 [maintenance release]+-----+* Backported the API for `ALens` and `ALens'` to support `snap` builds on old platforms.+ 3.7.3 [maintenance release] ----- * Removed my intra-package dependency upper bounds for my own packages. In particular this enables us to work with `semigroups` 0.9.
lens.cabal view
@@ -1,6 +1,6 @@ name:          lens category:      Data, Lenses-version:       3.7.3+version:       3.7.4 license:       BSD3 cabal-version: >= 1.8 license-file:  LICENSE
src/Control/Lens/Loupe.hs view
@@ -30,6 +30,11 @@    -- * Simplified   , SimpleLoupe++  -- * ALens forward compatibility+  , ALens+  , ALens'+  , cloneLens   ) where  import Control.Applicative              as Applicative@@ -73,8 +78,13 @@  type Loupe s t a b = LensLike (Context a b) s t a b + -- | @type 'SimpleLoupe' = 'Simple' 'Loupe'@ type SimpleLoupe s a = Loupe s s a a++type ALens s t a b = Loupe s t a b++type ALens' s a = Loupe s s a a  -- | A 'Loupe'-specific version of ('Control.Lens.Getter.^.') --