semigroupoids 5.3 → 5.3.1
raw patch · 7 files changed
+22/−6 lines, 7 filesdep ~basedep ~semigroups
Dependency ranges changed: base, semigroups
Files
- CHANGELOG.markdown +7/−2
- semigroupoids.cabal +4/−1
- src/Data/Functor/Bind/Class.hs +1/−1
- src/Data/Functor/Extend.hs +1/−1
- src/Data/Functor/Plus.hs +1/−1
- src/Data/Semigroup/Foldable/Class.hs +4/−0
- src/Data/Semigroup/Traversable/Class.hs +4/−0
CHANGELOG.markdown view
@@ -1,5 +1,10 @@-5.3----+5.3.1 [2018.07.02]+------------------+* Fix a regression introduced in `semigroupoids-5.3` in which some modules+ regressed from `Trustworthy` to `Unsafe`.++5.3 [2018.07.02]+---------------- * Allow building with `containers-0.6`. * Add `Alt` instances for `First` and `Last` from `Data.Semigroup`, and `Alt` and `Plus` instances for `First` and `Last` from `Data.Monoid`.
semigroupoids.cabal view
@@ -1,6 +1,6 @@ name: semigroupoids category: Control, Comonads-version: 5.3+version: 5.3.1 license: BSD3 cabal-version: >= 1.8 license-file: LICENSE@@ -196,6 +196,9 @@ Data.Traversable.Instances ghc-options: -Wall -fno-warn-warnings-deprecations++ if impl(ghc >= 7.10)+ ghc-options: -fno-warn-trustworthy-safe test-suite doctests type: exitcode-stdio-1.0
src/Data/Functor/Bind/Class.hs view
@@ -10,7 +10,7 @@ #define MIN_VERSION_semigroups(x,y,z) 1 #endif -#if __GLASGOW_HASKELL__ >= 702 && __GLASGOW_HASKELL <= 706 && defined(MIN_VERSION_comonad) && !(MIN_VERSION_comonad(3,0,3))+#if __GLASGOW_HASKELL__ >= 702 {-# LANGUAGE Trustworthy #-} #endif
src/Data/Functor/Extend.hs view
@@ -1,7 +1,7 @@ {-# LANGUAGE CPP #-} {-# LANGUAGE TypeOperators #-} -#if __GLASGOW_HASKELL__ >= 702 && __GLASGOW_HASKELL <= 706 && defined(MIN_VERSION_comonad) && !(MIN_VERSION_comonad(3,0,3))+#if __GLASGOW_HASKELL__ >= 702 {-# LANGUAGE Trustworthy #-} #endif
src/Data/Functor/Plus.hs view
@@ -1,7 +1,7 @@ {-# LANGUAGE CPP #-} {-# LANGUAGE TypeOperators #-} -#if __GLASGOW_HASKELL__ >= 702 && __GLASGOW_HASKELL <= 706 && defined(MIN_VERSION_comonad) && !(MIN_VERSION_comonad(3,0,3))+#if __GLASGOW_HASKELL__ >= 702 {-# LANGUAGE Trustworthy #-} #endif -----------------------------------------------------------------------------
src/Data/Semigroup/Foldable/Class.hs view
@@ -1,5 +1,9 @@ {-# LANGUAGE CPP, TypeOperators #-} +#if __GLASGOW_HASKELL__ >= 702+{-# LANGUAGE Trustworthy #-}+#endif+ #ifndef MIN_VERSION_semigroups #define MIN_VERSION_semigroups(x,y,z) 0 #endif
src/Data/Semigroup/Traversable/Class.hs view
@@ -1,4 +1,8 @@ {-# LANGUAGE CPP, TypeOperators #-}++#if __GLASGOW_HASKELL__ >= 702+{-# LANGUAGE Trustworthy #-}+#endif ----------------------------------------------------------------------------- -- | -- Copyright : (C) 2011-2015 Edward Kmett