Skip to content

Commit

Permalink
Fix build on GHC 7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
bergmark committed May 7, 2015
1 parent c6af1b2 commit fc69320
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion contravariant.cabal
Expand Up @@ -63,7 +63,7 @@ library
if flag(StateVar)
build-depends: StateVar >= 1.1 && < 1.2

if impl(ghc >= 7.4 && < 7.6)
if impl(ghc >= 7.2 && < 7.6)
build-depends: ghc-prim

exposed-modules:
Expand Down
4 changes: 2 additions & 2 deletions src/Data/Functor/Contravariant.hs
Expand Up @@ -14,7 +14,7 @@
#define MIN_VERSION_base(x,y,z) 1
#endif

#if __GLASGOW_HASKELL__ >= 702
#if __GLASGOW_HASKELL__ >= 704
#if MIN_VERSION_transformers(0,3,0) && MIN_VERSION_tagged(0,6,1)
{-# LANGUAGE Safe #-}
#else
Expand Down Expand Up @@ -258,7 +258,7 @@ defaultComparison = Comparison compare
-- @
--
-- __Symmetry__:
--
--
-- @
-- 'getEquivalence' f a b = 'getEquivalence' f b a
-- @
Expand Down

0 comments on commit fc69320

Please sign in to comment.