basic-sop 0.2.0.1 → 0.2.0.2
raw patch · 2 files changed
+8/−3 lines, 2 filesdep ~QuickCheckdep ~generics-sopPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: QuickCheck, generics-sop
API changes (from Hackage documentation)
Files
- basic-sop.cabal +3/−3
- src/Generics/SOP/Skeleton.hs +5/−0
basic-sop.cabal view
@@ -1,5 +1,5 @@ name: basic-sop-version: 0.2.0.1+version: 0.2.0.2 synopsis: Basic examples and functions for generics-sop description: This library contains various small examples of generic functions@@ -16,7 +16,7 @@ category: Generics build-type: Simple cabal-version: >=1.10-tested-with: GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.1, GHC == 8.0.2, GHC == 8.1.*+tested-with: GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.1, GHC == 8.0.2, GHC == 8.1.* source-repository head type: git@@ -29,7 +29,7 @@ Generics.SOP.Skeleton Generics.SOP.NFData build-depends: base >= 4.6 && < 5,- generics-sop >= 0.2 && < 0.3,+ generics-sop >= 0.2 && < 0.4, text >= 1.1 && < 1.3, QuickCheck >= 2.7 && < 2.10, deepseq >= 1.3 && < 1.5
src/Generics/SOP/Skeleton.hs view
@@ -93,7 +93,12 @@ aux (K n) = I $ mapException (addFieldName n) skeleton addFieldName :: FieldName -> ErrorCall -> ErrorCall+#if MIN_VERSION_base(4,9,0)+addFieldName n (ErrorCallWithLocation str loc) =+ ErrorCallWithLocation (n ++ ": " ++ str) loc+#else addFieldName n (ErrorCall str) = ErrorCall (n ++ ": " ++ str)+#endif ps :: Proxy Skeleton ps = Proxy