forked from bitonic/ghc
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]>
- Loading branch information
Showing
13 changed files
with
45 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,22 +4,22 @@ license: BSD3 | |
maintainer: [email protected] | ||
bug-reports: [email protected] | ||
synopsis: A binary format for the package database | ||
cabal-version: >=1.6 | ||
build-type: Simple | ||
cabal-version: >=1.10 | ||
build-type: Simple | ||
|
||
source-repository head | ||
type: git | ||
location: http://git.haskell.org/ghc.git | ||
subdir: libraries/bin-package-db | ||
|
||
Library { | ||
Library | ||
default-language: Haskell2010 | ||
|
||
exposed-modules: | ||
Distribution.InstalledPackageInfo.Binary | ||
|
||
build-depends: base >= 4 && < 5 | ||
|
||
build-depends: binary >= 0.5 && < 0.8, | ||
build-depends: base >= 4 && < 5, | ||
binary >= 0.5 && < 0.8, | ||
Cabal >= 1.20 && < 1.21 | ||
|
||
extensions: CPP | ||
} | ||
default-extensions: CPP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,25 +7,25 @@ maintainer: [email protected] | |
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 | ||
type: git | ||
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 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters