comonad 4.2.6 → 4.2.7
raw patch · 11 files changed
+69/−31 lines, 11 filesdep ~basedep ~tagged
Dependency ranges changed: base, tagged
Files
- .travis.yml +36/−19
- CHANGELOG.markdown +4/−0
- comonad.cabal +2/−4
- src/Control/Comonad/Env.hs +3/−1
- src/Control/Comonad/Env/Class.hs +3/−1
- src/Control/Comonad/Identity.hs +3/−1
- src/Control/Comonad/Store.hs +3/−1
- src/Control/Comonad/Traced.hs +3/−1
- src/Control/Comonad/Trans/Class.hs +4/−2
- src/Control/Comonad/Trans/Identity.hs +5/−0
- src/Data/Functor/Coproduct.hs +3/−1
.travis.yml view
@@ -1,23 +1,43 @@-language: haskell-before_install:- # Uncomment whenever hackage is down.- # - mkdir -p ~/.cabal && cp travis/config ~/.cabal/config && cabal update- - cabal update+env:+ - GHCVER=7.0.1 CABALVER=1.16+ - GHCVER=7.0.4 CABALVER=1.16+ - GHCVER=7.2.2 CABALVER=1.16+ - GHCVER=7.4.2 CABALVER=1.16+ - GHCVER=7.6.3 CABALVER=1.16+ - GHCVER=7.8.4 CABALVER=1.18+ - GHCVER=7.10.1 CABALVER=1.22+ - GHCVER=head CABALVER=1.22 - # Try installing some of the build-deps with apt-get for speed.- - travis/cabal-apt-install $mode- - cabal install packdeps packunused+matrix:+ allow_failures:+ - env: GHCVER=7.0.1 CABALVER=1.16+ - env: GHCVER=7.0.4 CABALVER=1.16+ - env: GHCVER=7.2.2 CABALVER=1.16+ - env: GHCVER=head CABALVER=1.22 +before_install:+ - travis_retry sudo add-apt-repository -y ppa:hvr/ghc+ - travis_retry sudo apt-get update+ - travis_retry sudo apt-get install cabal-install-$CABALVER ghc-$GHCVER+ - export PATH=/opt/ghc/$GHCVER/bin:/opt/cabal/$CABALVER/bin:$PATH+ - cabal --version+ install:- - cabal configure -flib-Werror $mode- - cabal build --ghc-options=-ddump-minimal-imports+ - travis_retry cabal update+ - cabal install --enable-tests --only-dependencies script:- - $script- - hlint src --cpp-define HLINT- - packdeps comonad.cabal- - packunused --ignore-package=transformers-compat-+ - cabal configure -v2 --enable-tests+ - cabal build+ - cabal sdist+ - export SRC_TGZ=$(cabal info . | awk '{print $2 ".tar.gz";exit}') ;+ cd dist/;+ if [ -f "$SRC_TGZ" ]; then+ cabal install "$SRC_TGZ";+ else+ echo "expected '$SRC_TGZ' not found";+ exit 1;+ fi notifications: irc:@@ -25,7 +45,4 @@ - "irc.freenode.org#haskell-lens" skip_join: true template:- - "\x0313comonad\x03/\x0306%{branch}\x03 \x0314%{commit}\x03 %{build_url} %{message}"--env:- - mode="--enable-tests" script="cabal test --show-details=always"+ - "\x0313comonad\x0f/\x0306%{branch}\x0f \x0314%{commit}\x0f %{message} \x0302\x1f%{build_url}\x0f"
CHANGELOG.markdown view
@@ -1,3 +1,7 @@+4.2.7+-----+* `Trustworthy` fixes for GHC 7.2+ 4.2.6 ----- * Re-export `(Data.Functor.$>)` rather than supply our own on GHC 7.8+
comonad.cabal view
@@ -1,6 +1,6 @@ name: comonad category: Control, Comonads-version: 4.2.6+version: 4.2.7 license: BSD3 cabal-version: >= 1.10 license-file: LICENSE@@ -14,6 +14,7 @@ synopsis: Comonads description: Comonads build-type: Custom+tested-with: GHC==7.0.1, GHC == 7.0.4, GHC == 7.2.2, GHC == 7.4.2, GHC == 7.6.3, GHC == 7.8.4, GHC == 7.10.1 extra-source-files: .ghci .gitignore@@ -128,6 +129,3 @@ directory >= 1.0, doctest >= 0.9.10, filepath-- if impl(ghc<7.6.1)- ghc-options: -Werror
src/Control/Comonad/Env.hs view
@@ -1,6 +1,8 @@ {-# LANGUAGE CPP #-}-#if defined(__GLASGOW_HASKELL__) && __GLASGOW_HASKELL__ >= 702+#if __GLASGOW_HASKELL__ >= 704 {-# LANGUAGE Safe #-}+#elif __GLASGOW_HASKELL__ >= 702+{-# LANGUAGE Trustworthy #-} #endif ----------------------------------------------------------------------------- -- |
src/Control/Comonad/Env/Class.hs view
@@ -3,8 +3,10 @@ {-# LANGUAGE FlexibleInstances #-} {-# LANGUAGE UndecidableInstances #-} {-# LANGUAGE CPP #-}-#if defined(__GLASGOW_HASKELL__) && __GLASGOW_HASKELL__ >= 702+#if __GLASGOW_HASKELL__ >= 704 {-# LANGUAGE Safe #-}+#elif __GLASGOW_HASKELL__ >= 702+{-# LANGUAGE Trustworthy #-} #endif ----------------------------------------------------------------------------- -- |
src/Control/Comonad/Identity.hs view
@@ -1,6 +1,8 @@ {-# LANGUAGE CPP #-}-#if defined(__GLASGOW_HASKELL__) && __GLASGOW_HASKELL__ >= 702+#if __GLASGOW_HASKELL__ >= 704 {-# LANGUAGE Safe #-}+#elif __GLASGOW_HASKELL__ >= 702+{-# LANGUAGE Trustworthy #-} #endif ----------------------------------------------------------------------------- -- |
src/Control/Comonad/Store.hs view
@@ -1,6 +1,8 @@ {-# LANGUAGE CPP #-}-#if defined(__GLASGOW_HASKELL__) && __GLASGOW_HASKELL__ >= 702+#if __GLASGOW_HASKELL__ >= 704 {-# LANGUAGE Safe #-}+#elif __GLASGOW_HASKELL__ >= 702+{-# LANGUAGE Trustworthy #-} #endif ----------------------------------------------------------------------------- -- |
src/Control/Comonad/Traced.hs view
@@ -1,6 +1,8 @@ {-# LANGUAGE CPP #-}-#if defined(__GLASGOW_HASKELL__) && __GLASGOW_HASKELL__ >= 702+#if __GLASGOW_HASKELL__ >= 704 {-# LANGUAGE Safe #-}+#elif __GLASGOW_HASKELL__ >= 702+{-# LANGUAGE Trustworthy #-} #endif ----------------------------------------------------------------------------- -- |
src/Control/Comonad/Trans/Class.hs view
@@ -1,11 +1,13 @@ {-# LANGUAGE CPP #-}-#if defined(__GLASGOW_HASKELL__) && __GLASGOW_HASKELL__ >= 702+#if __GLASGOW_HASKELL__ >= 704 {-# LANGUAGE Safe #-}+#elif __GLASGOW_HASKELL__ >= 702+{-# LANGUAGE Trustworthy #-} #endif ----------------------------------------------------------------------------- -- | -- Module : Control.Comonad.Trans.Class--- Copyright : (C) 2008-2011 Edward Kmett+-- Copyright : (C) 2008-2015 Edward Kmett -- License : BSD-style (see the file LICENSE) -- -- Maintainer : Edward Kmett <ekmett@gmail.com>
src/Control/Comonad/Trans/Identity.hs view
@@ -1,3 +1,8 @@+#if __GLASGOW_HASKELL__ >= 704+{-# LANGUAGE Safe #-}+#elif __GLASGOW_HASKELL__ >= 702+{-# LANGUAGE Trustworthy #-}+#endif ----------------------------------------------------------------------------- -- | -- Module : Control.Comonad.Trans.Identity
src/Data/Functor/Coproduct.hs view
@@ -1,6 +1,8 @@ {-# LANGUAGE CPP #-}-#if defined(__GLASGOW_HASKELL__) && __GLASGOW_HASKELL__ >= 702+#if __GLASGOW_HASKELL__ >= 704 {-# LANGUAGE Safe #-}+#elif __GLASGOW_HASKELL__ >= 702+{-# LANGUAGE Trustworthy #-} #endif ----------------------------------------------------------------------------- -- |