microlens-th 0.4.3 → 0.4.3.1
raw patch · 3 files changed
+6/−7 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- CHANGELOG.md +4/−0
- microlens-th.cabal +1/−1
- src/Lens/Micro/TH.hs +1/−6
CHANGELOG.md view
@@ -1,3 +1,7 @@+# 0.4.3.1++* No more conditional `Safe` (see [#122](https://github.com/monadfix/microlens/issues/122)).+ # 0.4.3 * Bumped th-abstraction version.
microlens-th.cabal view
@@ -1,5 +1,5 @@ name: microlens-th-version: 0.4.3+version: 0.4.3.1 synopsis: Automatic generation of record lenses for microlens description: This package lets you automatically generate lenses for data types; code was extracted from the lens package, and therefore generated lenses are fully compatible with ones generated by lens (and can be used both from lens and microlens).
src/Lens/Micro/TH.hs view
@@ -2,6 +2,7 @@ {-# LANGUAGE RankNTypes #-} {-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE ScopedTypeVariables #-}+{-# LANGUAGE Trustworthy #-} #ifndef MIN_VERSION_template_haskell #define MIN_VERSION_template_haskell(x,y,z) (defined(__GLASGOW_HASKELL__) && __GLASGOW_HASKELL__ >= 706)@@ -9,12 +10,6 @@ #ifndef MIN_VERSION_containers #define MIN_VERSION_containers(x,y,z) 1-#endif--#if MIN_VERSION_template_haskell(2,12,0)-{-# LANGUAGE Safe #-}-#else-{-# LANGUAGE Trustworthy #-} #endif #if __GLASGOW_HASKELL__ >= 800