packages feed

contravariant 1.5.1 → 1.5.2

raw patch · 4 files changed

+13/−9 lines, 4 filesdep ~StateVarPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: StateVar

API changes (from Hackage documentation)

Files

CHANGELOG.markdown view
@@ -1,3 +1,8 @@+1.5.2 [2019.06.03]+------------------+* Mark `Data.Functor.Contravariant` and `Data.Functor.Contravariant.Generic`+  as unconditionally `Trustworthy`.+ 1.5.1 [2019.05.02] ------------------ * Remove the use of `unsafeCoerce` in `Data.Functor.Contravariant.Generic`. As
contravariant.cabal view
@@ -1,6 +1,6 @@ name:          contravariant category:      Control, Data-version:       1.5.1+version:       1.5.2 license:       BSD3 cabal-version: >= 1.6 license-file:  LICENSE@@ -77,7 +77,7 @@     build-depends: semigroups >= 0.15.2 && < 1    if flag(StateVar)-    build-depends: StateVar >= 1.1.1 && < 1.2+    build-depends: StateVar >= 1.1.1 && < 1.3    if impl(ghc >= 7.2 && < 7.6)     build-depends: ghc-prim@@ -92,5 +92,8 @@    if impl(ghc >= 7.4)     exposed-modules: Data.Functor.Contravariant.Generic++  if impl(ghc >= 7.10)+    ghc-options: -fno-warn-trustworthy-safe    ghc-options: -Wall
old-src/Data/Functor/Contravariant.hs view
@@ -14,12 +14,8 @@ #define MIN_VERSION_base(x,y,z) 1 #endif -#if __GLASGOW_HASKELL__ >= 704-#if MIN_VERSION_transformers(0,3,0) && MIN_VERSION_tagged(0,6,1)-{-# LANGUAGE Safe #-}-#else+#if __GLASGOW_HASKELL__ >= 702 {-# LANGUAGE Trustworthy #-}-#endif #endif  {-# OPTIONS_GHC -fno-warn-deprecations #-}
src/Data/Functor/Contravariant/Generic.hs view
@@ -1,6 +1,6 @@ {-# LANGUAGE CPP #-}-#if __GLASGOW_HASKELL__ >= 704-{-# LANGUAGE Safe #-}+#if __GLASGOW_HASKELL__ >= 702+{-# LANGUAGE Trustworthy #-} #endif {-# LANGUAGE MultiParamTypeClasses #-} {-# LANGUAGE ConstraintKinds #-}