microlens-ghc 0.4.11 → 0.4.11.1
raw patch · 3 files changed
+6/−8 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGELOG.md +4/−0
- microlens-ghc.cabal +1/−1
- src/Lens/Micro/GHC.hs +1/−7
CHANGELOG.md view
@@ -1,3 +1,7 @@+# 0.4.11.1++* No more conditional `Safe` (see [#122](https://github.com/monadfix/microlens/issues/122)).+ # 0.4.11 * New minor release (microlens-0.4.11).
microlens-ghc.cabal view
@@ -1,5 +1,5 @@ name: microlens-ghc-version: 0.4.11+version: 0.4.11.1 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>).
src/Lens/Micro/GHC.hs view
@@ -3,16 +3,10 @@ {-# LANGUAGE TypeFamilies #-} {-# LANGUAGE FlexibleInstances #-} {-# LANGUAGE UndecidableInstances #-}+{-# LANGUAGE Trustworthy #-} #ifndef MIN_VERSION_base #define MIN_VERSION_base(x,y,z) 1-#endif---- Lens.Micro.Internal is either Trustworthy or Unsafe-#if __GLASGOW_HASKELL__ >= 708-{-# LANGUAGE Safe #-}-#else-{-# LANGUAGE Trustworthy #-} #endif {-# OPTIONS_GHC -fno-warn-orphans #-}