packages feed

lens-family-core 1.2.0 → 1.2.1

raw patch · 4 files changed

+8/−4 lines, 4 filesdep ~transformersPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: transformers

API changes (from Hackage documentation)

- Lens.Family.Clone: instance Applicative (IKleeneStore b b')
- Lens.Family.Clone: instance Functor (IKleeneStore b b')
- Lens.Family.Clone: instance Functor (IStore b b')
- Lens.Family.Stock: instance Functor f => Functor (AlongsideLeft f a)
- Lens.Family.Stock: instance Functor f => Functor (AlongsideRight f a)
- Lens.Family.Stock: instance Phantom f => Phantom (AlongsideLeft f a)
- Lens.Family.Stock: instance Phantom f => Phantom (AlongsideRight f a)
+ Lens.Family: infixl 1 &
+ Lens.Family: infixl 8 ^?
+ Lens.Family: infixr 4 <>~
+ Lens.Family.Clone: instance GHC.Base.Applicative (Lens.Family.Clone.IKleeneStore b b')
+ Lens.Family.Clone: instance GHC.Base.Functor (Lens.Family.Clone.IKleeneStore b b')
+ Lens.Family.Clone: instance GHC.Base.Functor (Lens.Family.Clone.IStore b b')
+ Lens.Family.State.Lazy: infix 4 %%=
+ Lens.Family.State.Lazy: infixr 2 <~
+ Lens.Family.State.Lazy: infixr 4 <>=
+ Lens.Family.State.Strict: infix 4 %%=
+ Lens.Family.State.Strict: infixr 2 <~
+ Lens.Family.State.Strict: infixr 4 <>=
+ Lens.Family.Stock: instance GHC.Base.Functor f => GHC.Base.Functor (Lens.Family.Stock.AlongsideLeft f a)
+ Lens.Family.Stock: instance GHC.Base.Functor f => GHC.Base.Functor (Lens.Family.Stock.AlongsideRight f a)
+ Lens.Family.Stock: instance Lens.Family.Phantom.Phantom f => Lens.Family.Phantom.Phantom (Lens.Family.Stock.AlongsideLeft f a)
+ Lens.Family.Stock: instance Lens.Family.Phantom.Phantom f => Lens.Family.Phantom.Phantom (Lens.Family.Stock.AlongsideRight f a)
- Lens.Family: (<>~) :: Monoid o => ASetter' a o -> o -> a -> a
+ Lens.Family: (<>~) :: (Monoid o) => ASetter' a o -> o -> a -> a
- Lens.Family: data Backwards (f :: * -> *) a :: (* -> *) -> * -> *
+ Lens.Family: data Backwards k (f :: k -> *) (a :: k) :: forall k. (k -> *) -> k -> *
- Lens.Family: data Constant a b :: * -> * -> *
+ Lens.Family: data Constant k a (b :: k) :: forall k. * -> k -> *
- Lens.Family.State.Lazy: data Constant a b :: * -> * -> *
+ Lens.Family.State.Lazy: data Constant k a (b :: k) :: forall k. * -> k -> *
- Lens.Family.State.Strict: data Constant a b :: * -> * -> *
+ Lens.Family.State.Strict: data Constant k a (b :: k) :: forall k. * -> k -> *

Files

CHANGELOG view
@@ -1,3 +1,7 @@+1.2.1 (Changes from 1.2.0)+=========================+* Bump dependency on transformers+ 1.2.0 (Changes from 1.1.0) ========================= * Corrected associativity of ^. ^.. and ^? from right to left.
lens-family-core.cabal view
@@ -1,6 +1,6 @@ name:               lens-family-core category:           Data, Lenses-version:            1.2.0+version:            1.2.1 license:            BSD3 cabal-version:      >= 1.6 license-file:       LICENSE@@ -36,7 +36,7 @@   build-depends:     base                 >= 4       && < 5,     containers           >= 0.3     && < 0.6,-    transformers         >= 0.2.0   && < 0.5+    transformers         >= 0.2.0   && < 0.6    exposed-modules:     Lens.Family.Unchecked
src/Lens/Family/State/Lazy.hs view
@@ -46,7 +46,7 @@ -- This is a good way to call a \"subroutine\" that only needs access to part of the state. -- -- @--- zoom :: (Monoid c, Moand m) => Traversal' a b -> StateT b m c -> StateT a m c+-- zoom :: (Monoid c, Monad m) => Traversal' a b -> StateT b m c -> StateT a m c -- @ -- -- Run the \"subroutine\" on each element of the traversal in turn and 'mconcat' all the results together.
src/Lens/Family/State/Strict.hs view
@@ -46,7 +46,7 @@ -- This is a good way to call a \"subroutine\" that only needs access to part of the state. -- -- @--- zoom :: (Monoid c, Moand m) => Traversal' a b -> StateT b m c -> StateT a m c+-- zoom :: (Monoid c, Monad m) => Traversal' a b -> StateT b m c -> StateT a m c -- @ -- -- Run the \"subroutine\" on each element of the traversal in turn and 'mconcat' all the results together.