Skip to content
Snippets Groups Projects
Commit 895887f3 authored by Herbert Valerio Riedel's avatar Herbert Valerio Riedel :man_dancing:
Browse files

Convert `deepseq.cabal` to `cabal-version>=1.10`


This also resurrects compatibility with older GHC versions back to
version 7.0.1 and specifies more accurate and verified build-depends.

Signed-off-by: Herbert Valerio Riedel's avatarHerbert Valerio Riedel <hvr@gnu.org>
parent 234bab1c
No related branches found
No related tags found
No related merge requests found
#ifdef __GLASGOW_HASKELL__ {-# LANGUAGE CPP #-}
#if __GLASGOW_HASKELL__ >= 702 && MIN_VERSION_array(0,4,0)
{-# LANGUAGE Safe #-} {-# LANGUAGE Safe #-}
#endif #endif
----------------------------------------------------------------------------- -----------------------------------------------------------------------------
......
...@@ -20,17 +20,28 @@ description: ...@@ -20,17 +20,28 @@ description:
components) which defines strategies for fully evaluating different components) which defines strategies for fully evaluating different
data types. data types.
. .
If you want to automatically derive 'NFData' instances via the
"GHC.Generics" facility, there is a companion package
<http://hackage.haskell.org/package/deepseq-generics deepseq-generics>
which builds on top of this package.
build-type: Simple build-type: Simple
cabal-version: >=1.6 cabal-version: >=1.10
source-repository head source-repository head
type: git type: git
location: http://git.haskell.org/packages/deepseq.git location: http://git.haskell.org/packages/deepseq.git
library { source-repository this
type: git
location: http://git.haskell.org/packages/deepseq.git
tag: bytestring-1.3.0.2-release
library
default-language: Haskell98
other-extensions: CPP
if impl(ghc >= 7.2)
other-extensions: Safe
exposed-modules: Control.DeepSeq exposed-modules: Control.DeepSeq
build-depends: base >= 4.5 && < 5, build-depends: base >= 4.3 && < 4.8,
array >= 0.1 && < 0.5 array >= 0.3 && < 0.6
ghc-options: -Wall ghc-options: -Wall
extensions: CPP
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment