summaryrefslogtreecommitdiff
path: root/libraries/integer-simple
diff options
context:
space:
mode:
authorHerbert Valerio Riedel <hvr@gnu.org>2014-05-14 09:24:10 +0200
committerHerbert Valerio Riedel <hvr@gnu.org>2014-05-14 10:21:35 +0200
commitdd92e2179e3171a0630834b773c08d416101980d (patch)
treeeb79866a2c3474bd1b91c6110f7e5c56f8db6bbf /libraries/integer-simple
parent0148a1c416e42a7d7c9ff3624a0640963bfe0012 (diff)
downloadhaskell-dd92e2179e3171a0630834b773c08d416101980d.tar.gz
Set cabal files to default-language:Haskell2010
This is a first step towards eliminating `default-extensions` in favour of per-file declared `{-# LANGUAGE ... #-}` pragmas. Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
Diffstat (limited to 'libraries/integer-simple')
-rw-r--r--libraries/integer-simple/integer-simple.cabal12
1 files changed, 6 insertions, 6 deletions
diff --git a/libraries/integer-simple/integer-simple.cabal b/libraries/integer-simple/integer-simple.cabal
index fa41c240c4..51d3cc7b5b 100644
--- a/libraries/integer-simple/integer-simple.cabal
+++ b/libraries/integer-simple/integer-simple.cabal
@@ -7,7 +7,7 @@ maintainer: igloo@earth.li
synopsis: Simple Integer library
description:
This package contains an simple Integer library.
-cabal-version: >=1.6
+cabal-version: >=1.10
build-type: Simple
source-repository head
@@ -15,17 +15,17 @@ source-repository head
location: http://git.haskell.org/ghc.git
subdir: libraries/integer-simple
-Library {
+Library
+ default-language: Haskell2010
+
build-depends: ghc-prim
exposed-modules: GHC.Integer
GHC.Integer.Simple.Internals
GHC.Integer.Logarithms
GHC.Integer.Logarithms.Internals
other-modules: GHC.Integer.Type
- extensions: CPP, MagicHash, BangPatterns, UnboxedTuples,
- ForeignFunctionInterface, UnliftedFFITypes,
- NoImplicitPrelude
+ default-extensions: CPP, MagicHash, BangPatterns, UnboxedTuples,
+ UnliftedFFITypes, NoImplicitPrelude
-- We need to set the package name to integer-simple
-- (without a version number) as it's magic.
ghc-options: -package-name integer-simple -Wall
-}