packages feed

microlens-ghc 0.4.6.0 → 0.4.7.0

raw patch · 3 files changed

+9/−3 lines, 3 filesdep ~microlensPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: microlens

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -1,3 +1,7 @@+# 0.4.7.0++* New minor release (microlens-0.4.7).+ # 0.4.6.0  * New minor release (microlens-0.4.6).
microlens-ghc.cabal view
@@ -1,5 +1,5 @@ name:                microlens-ghc-version:             0.4.6.0+version:             0.4.7.0 synopsis:            microlens + array, bytestring, containers, transformers description:   Use this package instead of <http://hackage.haskell.org/package/microlens microlens> if you don't mind depending on all dependencies here – @Lens.Micro.GHC@ reexports everything from @Lens.Micro@ and additionally provides orphan instances of microlens classes for packages coming with GHC (<http://hackage.haskell.org/package/array array>, <http://hackage.haskell.org/package/bytestring bytestring>, <http://hackage.haskell.org/package/containers containers>, <http://hackage.haskell.org/package/transfromers transformers>).@@ -32,7 +32,7 @@                      , base >=4.5 && <5                      , bytestring >=0.9.1.10 && <0.11                      , containers >=0.4.0 && <0.6-                     , microlens ==0.4.6.*+                     , microlens ==0.4.7.*                      , transformers >=0.2 && <0.6    ghc-options:
src/Lens/Micro/GHC.hs view
@@ -181,7 +181,9 @@   each = traversed   {-# INLINE each #-} -instance Each (Tree a) (Tree b) a b+instance Each (Tree a) (Tree b) a b where+  each = traversed+  {-# INLINE each #-}  instance (Ix i, i ~ j) => Each (Array i a) (Array j b) a b where   each f arr = array (bounds arr) <$> traverse (\(i,a) -> (,) i <$> f a) (Array.assocs arr)