lens-witherable 0.1.0.1 → 0.1.0.2
raw patch · 3 files changed
+10/−11 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
- lens-witherable.cabal +6/−6
- src/Witherable/Lens.hs +0/−5
CHANGELOG.md view
@@ -1,5 +1,9 @@ # Revision history for lens-witherable +## 0.1.0.2 -- 2022-11-16++* Discovered cabal mixins. No longer using CPP, but now requiring GHC 8.2 or newer+ ## 0.1.0.1 -- 2022-11-14 * Add support for older versions of dependencies with cabal flags and CPP.
lens-witherable.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.4 name: lens-witherable-version: 0.1.0.1+version: 0.1.0.2 synopsis: lens-compatible tools for working with witherable copyright: Copyright (C) 2021-2022 Carl Howells license: MIT@@ -25,12 +25,12 @@ hs-source-dirs: src if flag(top-level-witherable)- cpp-options: -DTOP_LEVEL_WITHERABLE- build-depends: witherable >= 0.4 && < 0.5,- base >=4.9 && <5,+ build-depends: witherable >=0.4 && <0.5,+ base >=4.10 && <5, else- build-depends: witherable >= 0 && < 0.5,- base >=4.8 && <4.16+ build-depends: witherable >=0 && <0.5,+ base >=4.10 && <4.16+ mixins: witherable (Data.Witherable as Witherable) flag top-level-witherable
src/Witherable/Lens.hs view
@@ -1,4 +1,3 @@-{-# Language CPP #-} {-| Module : Witherable.Lens Description : Tools for using the Witherable interface with lens@@ -12,11 +11,7 @@ import Data.Functor.Identity (Identity(runIdentity)) -#ifdef TOP_LEVEL_WITHERABLE import Witherable (Witherable(wither))-#else-import Data.Witherable (Witherable(wither))-#endif import Witherable.Lens.Withering