microlens 0.4.11.1 → 0.4.11.2
raw patch · 3 files changed
+9/−2 lines, 3 filesdep ~basePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: base
API changes (from Hackage documentation)
Files
- CHANGELOG.md +4/−0
- microlens.cabal +2/−2
- src/Lens/Micro.hs +3/−0
CHANGELOG.md view
@@ -1,3 +1,7 @@+# 0.4.11.2++* Fixed compilation on GHC 8.8 (thanks to @vmchale).+ # 0.4.11.1 * Reverted marking `Lens.Micro.Internal` as `Trustworthy`, see [#122](https://github.com/monadfix/microlens/issues/122).
microlens.cabal view
@@ -1,5 +1,5 @@ name: microlens-version: 0.4.11.1+version: 0.4.11.2 synopsis: A tiny lens library with no dependencies description: NOTE: If you're writing an app, you probably want <http://hackage.haskell.org/package/microlens-platform microlens-platform> – it has the most features. <http://hackage.haskell.org/package/microlens microlens> is intended more for library writers who want a tiny lens library (after all, lenses are pretty useful for everything, not just for updating records!).@@ -32,7 +32,7 @@ license: BSD3 license-file: LICENSE author: Edward Kmett, Artyom Kazak-maintainer: Monadfix <hi@monadfix.io>+maintainer: Monadfix <hi@monadfix.com> homepage: http://github.com/monadfix/microlens bug-reports: http://github.com/monadfix/microlens/issues -- copyright:
src/Lens/Micro.hs view
@@ -25,6 +25,7 @@ Unofficial: * <http://hackage.haskell.org/package/microlens-aeson microlens-aeson> – a port of <http://hackage.haskell.org/package/lens-aeson lens-aeson>+* <http://hackage.haskell.org/package/microlens-process microlens-process> - a port of <http://hackage.haskell.org/package/lens-process lens-process> -} module Lens.Micro@@ -1461,8 +1462,10 @@ ~(a, s') <- runStateT m s runStateT (k a) s' {-# INLINE (>>=) #-}+#if !MIN_VERSION_base(4,13,0) fail str = StateT $ \ _ -> fail str {-# INLINE fail #-}+#endif #if MIN_VERSION_base(4,9,0) instance (Fail.MonadFail m) => Fail.MonadFail (StateT s m) where