summaryrefslogtreecommitdiff
path: root/libraries/integer-simple
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/integer-simple')
-rw-r--r--libraries/integer-simple/GHC/Integer/Type.hs3
-rw-r--r--libraries/integer-simple/integer-simple.cabal12
2 files changed, 7 insertions, 8 deletions
diff --git a/libraries/integer-simple/GHC/Integer/Type.hs b/libraries/integer-simple/GHC/Integer/Type.hs
index 5deecd29bb..cd39b7d6bd 100644
--- a/libraries/integer-simple/GHC/Integer/Type.hs
+++ b/libraries/integer-simple/GHC/Integer/Type.hs
@@ -1,6 +1,5 @@
-{-# LANGUAGE CPP, MagicHash, ForeignFunctionInterface,
- NoImplicitPrelude, BangPatterns, UnboxedTuples,
+{-# LANGUAGE CPP, MagicHash, NoImplicitPrelude, BangPatterns, UnboxedTuples,
UnliftedFFITypes #-}
-- Commentary of Integer library is located on the wiki:
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
-}