Commit 15d75144 authored by Erik de Castro Lopo's avatar Erik de Castro Lopo

Clean out support for old ghcs from cabal files

parent 18e10881
...@@ -16,41 +16,19 @@ build-type: Simple ...@@ -16,41 +16,19 @@ build-type: Simple
-- extra-source-files: -- extra-source-files:
cabal-version: >=1.16 cabal-version: >=1.16
-- hs-source-dirs doesn't work well, doesn't take union, so include all src dirs specifically
extra-source-files:
HaskellParser76.y.pp
HaskellParser782.y.pp
HaskellParser783.y.pp
src-7.10/Language/Haskell/GHC/HappyParser.hs
src-7.8.2/Language/Haskell/GHC/HappyParser.hs
src-7.8.3/Language/Haskell/GHC/HappyParser.hs
src-7.6/Language/Haskell/GHC/HappyParser.hs
library library
build-tools: happy, cpphs build-tools: happy, cpphs
exposed-modules: Language.Haskell.GHC.Parser, exposed-modules: Language.Haskell.GHC.Parser,
Language.Haskell.GHC.HappyParser Language.Haskell.GHC.HappyParser
-- other-modules: -- other-modules:
-- other-extensions: -- other-extensions:
build-depends: base >=4.6 && < 5, build-depends: base >=4.9 && < 5,
ghc >=7.6 && <8.7 ghc >=8.0 && <8.7
if impl(ghc >= 7.6) && impl(ghc < 7.8) if impl(ghc >= 8.0) && impl(ghc < 8.4)
hs-source-dirs: generic-src src-7.6 hs-source-dirs: generic-src src-8.0
else else
if impl(ghc >= 7.8) && impl(ghc < 7.8.3) hs-source-dirs: generic-src src-8.4
hs-source-dirs: generic-src src-7.8.2
else
if impl(ghc < 7.10)
hs-source-dirs: generic-src src-7.8.3
else
if impl(ghc < 8.0)
hs-source-dirs: generic-src src-7.10
else
if impl(ghc >= 8.0) && impl(ghc < 8.4)
hs-source-dirs: generic-src src-8.0
else
hs-source-dirs: generic-src src-8.4
default-language: Haskell2010 default-language: Haskell2010
module Language.Haskell.GHC.HappyParser
( fullStatement
, fullImport
, fullDeclaration
, fullExpression
, fullTypeSignature
, fullModule
) where
import Parser
import SrcLoc
-- compiler/hsSyn
import HsSyn
-- compiler/utils
import OrdList
-- compiler/parser
import RdrHsSyn
import Lexer
-- compiler/basicTypes
import RdrName
fullStatement :: P (Maybe (LStmt RdrName (LHsExpr RdrName)))
fullStatement = parseStmt
fullImport :: P (LImportDecl RdrName)
fullImport = parseImport
fullDeclaration :: P (OrdList (LHsDecl RdrName))
fullDeclaration = parseDeclaration
fullExpression :: P (LHsExpr RdrName)
fullExpression = parseExpression
fullTypeSignature :: P (Located (OrdList (LHsDecl RdrName)))
fullTypeSignature = parseTypeSignature
fullModule :: P (Located (HsModule RdrName))
fullModule = parseModule
This diff is collapsed.
-- The name of the package. -- The name of the package.
name: ihaskell-aeson name: ihaskell-aeson
-- The package version. See the Haskell package versioning policy (PVP) -- The package version. See the Haskell package versioning policy (PVP)
-- for standards guiding when and how versions should be incremented. -- for standards guiding when and how versions should be incremented.
-- http://www.haskell.org/haskellwiki/Package_versioning_policy -- http://www.haskell.org/haskellwiki/Package_versioning_policy
-- PVP summary: +-+------- breaking API changes -- PVP summary: +-+------- breaking API changes
...@@ -13,7 +13,7 @@ version: 0.3.0.1 ...@@ -13,7 +13,7 @@ version: 0.3.0.1
synopsis: IHaskell display instances for Aeson synopsis: IHaskell display instances for Aeson
-- A longer description of the package. -- A longer description of the package.
-- description: -- description:
-- URL for the project homepage or repository. -- URL for the project homepage or repository.
homepage: http://www.github.com/gibiansky/ihaskell homepage: http://www.github.com/gibiansky/ihaskell
...@@ -27,20 +27,20 @@ license-file: LICENSE ...@@ -27,20 +27,20 @@ license-file: LICENSE
-- The package author(s). -- The package author(s).
author: Andrew Gibiansky author: Andrew Gibiansky
-- An email address to which users can send suggestions, bug reports, and -- An email address to which users can send suggestions, bug reports, and
-- patches. -- patches.
maintainer: andrew.gibiansky@gmail.com maintainer: andrew.gibiansky@gmail.com
-- A copyright notice. -- A copyright notice.
-- copyright: -- copyright:
category: Development category: Development
build-type: Simple build-type: Simple
-- Extra files to be distributed with the package, such as examples or a -- Extra files to be distributed with the package, such as examples or a
-- README. -- README.
-- extra-source-files: -- extra-source-files:
-- Constraint on the version of Cabal needed to build this package. -- Constraint on the version of Cabal needed to build this package.
cabal-version: >=1.16 cabal-version: >=1.16
...@@ -48,21 +48,21 @@ cabal-version: >=1.16 ...@@ -48,21 +48,21 @@ cabal-version: >=1.16
library library
-- Modules exported by the library. -- Modules exported by the library.
exposed-modules: IHaskell.Display.Aeson exposed-modules: IHaskell.Display.Aeson
-- Modules included in this library but not exported. -- Modules included in this library but not exported.
-- other-modules: -- other-modules:
-- Other library packages from which modules are imported. -- Other library packages from which modules are imported.
build-depends: base >=4.6 && <5, build-depends: base >=4.9 && <5,
here, here,
text, text,
bytestring, bytestring,
aeson >= 0.7, aeson >= 0.7,
aeson-pretty >= 0.7, aeson-pretty >= 0.7,
ihaskell >= 0.5 ihaskell >= 0.5
-- Directories containing source files. -- Directories containing source files.
-- hs-source-dirs: -- hs-source-dirs:
-- Base language which the package is written in. -- Base language which the package is written in.
default-language: Haskell2010 default-language: Haskell2010
-- Initial ihaskell-display.cabal generated by cabal init. For further -- Initial ihaskell-display.cabal generated by cabal init. For further
-- documentation, see http://haskell.org/cabal/users-guide/ -- documentation, see http://haskell.org/cabal/users-guide/
-- The name of the package. -- The name of the package.
name: ihaskell-blaze name: ihaskell-blaze
-- The package version. See the Haskell package versioning policy (PVP) -- The package version. See the Haskell package versioning policy (PVP)
-- for standards guiding when and how versions should be incremented. -- for standards guiding when and how versions should be incremented.
-- http://www.haskell.org/haskellwiki/Package_versioning_policy -- http://www.haskell.org/haskellwiki/Package_versioning_policy
-- PVP summary: +-+------- breaking API changes -- PVP summary: +-+------- breaking API changes
...@@ -16,7 +16,7 @@ version: 0.3.0.1 ...@@ -16,7 +16,7 @@ version: 0.3.0.1
synopsis: IHaskell display instances for blaze-html types synopsis: IHaskell display instances for blaze-html types
-- A longer description of the package. -- A longer description of the package.
-- description: -- description:
-- URL for the project homepage or repository. -- URL for the project homepage or repository.
homepage: http://www.github.com/gibiansky/ihaskell homepage: http://www.github.com/gibiansky/ihaskell
...@@ -30,20 +30,20 @@ license-file: LICENSE ...@@ -30,20 +30,20 @@ license-file: LICENSE
-- The package author(s). -- The package author(s).
author: Andrew Gibiansky author: Andrew Gibiansky
-- An email address to which users can send suggestions, bug reports, and -- An email address to which users can send suggestions, bug reports, and
-- patches. -- patches.
maintainer: andrew.gibiansky@gmail.com maintainer: andrew.gibiansky@gmail.com
-- A copyright notice. -- A copyright notice.
-- copyright: -- copyright:
category: Development category: Development
build-type: Simple build-type: Simple
-- Extra files to be distributed with the package, such as examples or a -- Extra files to be distributed with the package, such as examples or a
-- README. -- README.
-- extra-source-files: -- extra-source-files:
-- Constraint on the version of Cabal needed to build this package. -- Constraint on the version of Cabal needed to build this package.
cabal-version: >=1.16 cabal-version: >=1.16
...@@ -52,18 +52,18 @@ cabal-version: >=1.16 ...@@ -52,18 +52,18 @@ cabal-version: >=1.16
library library
-- Modules exported by the library. -- Modules exported by the library.
exposed-modules: IHaskell.Display.Blaze exposed-modules: IHaskell.Display.Blaze
-- Modules included in this library but not exported. -- Modules included in this library but not exported.
-- other-modules: -- other-modules:
-- Other library packages from which modules are imported. -- Other library packages from which modules are imported.
build-depends: base >=4.6 && <5, build-depends: base >=4.9 && <5,
blaze-html >= 0.6, blaze-html >= 0.6,
blaze-markup >= 0.5, blaze-markup >= 0.5,
ihaskell >= 0.5 ihaskell >= 0.5
-- Directories containing source files. -- Directories containing source files.
-- hs-source-dirs: -- hs-source-dirs:
-- Base language which the package is written in. -- Base language which the package is written in.
default-language: Haskell2010 default-language: Haskell2010
-- The name of the package. -- The name of the package.
name: ihaskell-charts name: ihaskell-charts
-- The package version. See the Haskell package versioning policy (PVP) -- The package version. See the Haskell package versioning policy (PVP)
-- for standards guiding when and how versions should be incremented. -- for standards guiding when and how versions should be incremented.
-- http://www.haskell.org/haskellwiki/Package_versioning_policy -- http://www.haskell.org/haskellwiki/Package_versioning_policy
-- PVP summary: +-+------- breaking API changes -- PVP summary: +-+------- breaking API changes
...@@ -13,7 +13,7 @@ version: 0.3.0.1 ...@@ -13,7 +13,7 @@ version: 0.3.0.1
synopsis: IHaskell display instances for charts types synopsis: IHaskell display instances for charts types
-- A longer description of the package. -- A longer description of the package.
-- description: -- description:
-- URL for the project homepage or repository. -- URL for the project homepage or repository.
homepage: http://www.github.com/gibiansky/ihaskell homepage: http://www.github.com/gibiansky/ihaskell
...@@ -27,20 +27,20 @@ license-file: LICENSE ...@@ -27,20 +27,20 @@ license-file: LICENSE
-- The package author(s). -- The package author(s).
author: Andrew Gibiansky author: Andrew Gibiansky
-- An email address to which users can send suggestions, bug reports, and -- An email address to which users can send suggestions, bug reports, and
-- patches. -- patches.
maintainer: andrew.gibiansky@gmail.com maintainer: andrew.gibiansky@gmail.com
-- A copyright notice. -- A copyright notice.
-- copyright: -- copyright:
category: Development category: Development
build-type: Simple build-type: Simple
-- Extra files to be distributed with the package, such as examples or a -- Extra files to be distributed with the package, such as examples or a
-- README. -- README.
-- extra-source-files: -- extra-source-files:
-- Constraint on the version of Cabal needed to build this package. -- Constraint on the version of Cabal needed to build this package.
cabal-version: >=1.16 cabal-version: >=1.16
...@@ -49,21 +49,21 @@ cabal-version: >=1.16 ...@@ -49,21 +49,21 @@ cabal-version: >=1.16
library library
-- Modules exported by the library. -- Modules exported by the library.
exposed-modules: IHaskell.Display.Charts exposed-modules: IHaskell.Display.Charts
-- Modules included in this library but not exported. -- Modules included in this library but not exported.
-- other-modules: -- other-modules:
-- Other library packages from which modules are imported. -- Other library packages from which modules are imported.
build-depends: base >=4.6 && <5, build-depends: base >=4.9 && <5,
bytestring, bytestring,
data-default-class, data-default-class,
directory, directory,
Chart, Chart,
Chart-cairo >=1.2, Chart-cairo >=1.2,
ihaskell >= 0.6.2 ihaskell >= 0.6.2
-- Directories containing source files. -- Directories containing source files.
-- hs-source-dirs: -- hs-source-dirs:
-- Base language which the package is written in. -- Base language which the package is written in.
default-language: Haskell2010 default-language: Haskell2010
-- The name of the package. -- The name of the package.
name: ihaskell-diagrams name: ihaskell-diagrams
-- The package version. See the Haskell package versioning policy (PVP) -- The package version. See the Haskell package versioning policy (PVP)
-- for standards guiding when and how versions should be incremented. -- for standards guiding when and how versions should be incremented.
-- http://www.haskell.org/haskellwiki/Package_versioning_policy -- http://www.haskell.org/haskellwiki/Package_versioning_policy
-- PVP summary: +-+------- breaking API changes -- PVP summary: +-+------- breaking API changes
...@@ -13,7 +13,7 @@ version: 0.3.2.1 ...@@ -13,7 +13,7 @@ version: 0.3.2.1
synopsis: IHaskell display instances for diagram types synopsis: IHaskell display instances for diagram types
-- A longer description of the package. -- A longer description of the package.
-- description: -- description:
-- URL for the project homepage or repository. -- URL for the project homepage or repository.
homepage: http://www.github.com/gibiansky/ihaskell homepage: http://www.github.com/gibiansky/ihaskell
...@@ -27,20 +27,20 @@ license-file: LICENSE ...@@ -27,20 +27,20 @@ license-file: LICENSE
-- The package author(s). -- The package author(s).
author: Andrew Gibiansky author: Andrew Gibiansky
-- An email address to which users can send suggestions, bug reports, and -- An email address to which users can send suggestions, bug reports, and
-- patches. -- patches.
maintainer: andrew.gibiansky@gmail.com maintainer: andrew.gibiansky@gmail.com
-- A copyright notice. -- A copyright notice.
-- copyright: -- copyright:
category: Development category: Development
build-type: Simple build-type: Simple
-- Extra files to be distributed with the package, such as examples or a -- Extra files to be distributed with the package, such as examples or a
-- README. -- README.
-- extra-source-files: -- extra-source-files:
-- Constraint on the version of Cabal needed to build this package. -- Constraint on the version of Cabal needed to build this package.
cabal-version: >=1.16 cabal-version: >=1.16
...@@ -49,13 +49,13 @@ cabal-version: >=1.16 ...@@ -49,13 +49,13 @@ cabal-version: >=1.16
library library
-- Modules exported by the library. -- Modules exported by the library.
exposed-modules: IHaskell.Display.Diagrams exposed-modules: IHaskell.Display.Diagrams
-- Modules included in this library but not exported. -- Modules included in this library but not exported.
other-modules: IHaskell.Display.Diagrams.Animation other-modules: IHaskell.Display.Diagrams.Animation
IHaskell.Display.Diagrams.ImgSize IHaskell.Display.Diagrams.ImgSize
-- Other library packages from which modules are imported. -- Other library packages from which modules are imported.
build-depends: base >=4.6 && <5, build-depends: base >=4.9 && <5,
text, text,
bytestring, bytestring,
directory, directory,
...@@ -69,7 +69,7 @@ library ...@@ -69,7 +69,7 @@ library
active >= 0.2 active >= 0.2
-- Directories containing source files. -- Directories containing source files.
-- hs-source-dirs: -- hs-source-dirs:
-- Base language which the package is written in. -- Base language which the package is written in.
default-language: Haskell2010 default-language: Haskell2010
-- The name of the package. -- The name of the package.
name: ihaskell-gnuplot name: ihaskell-gnuplot
-- The package version. See the Haskell package versioning policy (PVP) -- The package version. See the Haskell package versioning policy (PVP)
-- for standards guiding when and how versions should be incremented. -- for standards guiding when and how versions should be incremented.
-- http://www.haskell.org/haskellwiki/Package_versioning_policy -- http://www.haskell.org/haskellwiki/Package_versioning_policy
-- PVP summary: +-+------- breaking API changes -- PVP summary: +-+------- breaking API changes
...@@ -13,7 +13,7 @@ version: 0.1.0.1 ...@@ -13,7 +13,7 @@ version: 0.1.0.1
synopsis: IHaskell display instance for Gnuplot (from gnuplot package) synopsis: IHaskell display instance for Gnuplot (from gnuplot package)
-- A longer description of the package. -- A longer description of the package.
-- description: -- description:
-- URL for the project homepage or repository. -- URL for the project homepage or repository.
homepage: http://www.github.com/gibiansky/ihaskell homepage: http://www.github.com/gibiansky/ihaskell
...@@ -27,21 +27,21 @@ license-file: LICENSE ...@@ -27,21 +27,21 @@ license-file: LICENSE
-- The package author(s). -- The package author(s).
author: Doro Rose <dororose@hotmail.com> author: Doro Rose <dororose@hotmail.com>
-- An email address to which users can send suggestions, bug reports, and -- An email address to which users can send suggestions, bug reports, and
-- patches. -- patches.
maintainer: Doro Rose <dororose@hotmail.com>, maintainer: Doro Rose <dororose@hotmail.com>,
Andrew Gibiansky <andrew.gibiansky@gmail.com> Andrew Gibiansky <andrew.gibiansky@gmail.com>
-- A copyright notice. -- A copyright notice.
-- copyright: -- copyright:
category: Development category: Development
build-type: Simple build-type: Simple
-- Extra files to be distributed with the package, such as examples or a -- Extra files to be distributed with the package, such as examples or a
-- README. -- README.
-- extra-source-files: -- extra-source-files:
-- Constraint on the version of Cabal needed to build this package. -- Constraint on the version of Cabal needed to build this package.
cabal-version: >=1.16 cabal-version: >=1.16
...@@ -49,18 +49,18 @@ cabal-version: >=1.16 ...@@ -49,18 +49,18 @@ cabal-version: >=1.16
library library
-- Modules exported by the library. -- Modules exported by the library.
exposed-modules: IHaskell.Display.Gnuplot exposed-modules: IHaskell.Display.Gnuplot
-- Modules included in this library but not exported. -- Modules included in this library but not exported.
-- other-modules: -- other-modules:
-- Other library packages from which modules are imported. -- Other library packages from which modules are imported.
build-depends: base >=4.6 && <5, build-depends: base >=4.9 && <5,
bytestring, bytestring,
gnuplot >= 0.5.4, gnuplot >= 0.5.4,
ihaskell >= 0.6.2 ihaskell >= 0.6.2
-- Directories containing source files. -- Directories containing source files.
-- hs-source-dirs: -- hs-source-dirs:
-- Base language which the package is written in. -- Base language which the package is written in.
default-language: Haskell2010 default-language: Haskell2010
name: ihaskell-hatex name: ihaskell-hatex
version: 0.2.1.1 version: 0.2.1.1
synopsis: IHaskell display instances for hatex synopsis: IHaskell display instances for hatex
-- description: -- description:
homepage: http://www.github.com/gibiansky/IHaskell homepage: http://www.github.com/gibiansky/IHaskell
license: MIT license: MIT
license-file: LICENSE license-file: LICENSE
...@@ -14,9 +14,9 @@ cabal-version: >=1.16 ...@@ -14,9 +14,9 @@ cabal-version: >=1.16
library library
exposed-modules: IHaskell.Display.Hatex exposed-modules: IHaskell.Display.Hatex
build-depends: base >=4.6 && <5, build-depends: base >=4.9 && <5,
text, text,
HaTeX >= 3.9, HaTeX >= 3.9,
ihaskell >= 0.5 ihaskell >= 0.5
default-language: Haskell2010 default-language: Haskell2010
-- The name of the package. -- The name of the package.
name: ihaskell-juicypixels name: ihaskell-juicypixels
-- The package version. See the Haskell package versioning policy (PVP) -- The package version. See the Haskell package versioning policy (PVP)
-- for standards guiding when and how versions should be incremented. -- for standards guiding when and how versions should be incremented.
-- http://www.haskell.org/haskellwiki/Package_versioning_policy -- http://www.haskell.org/haskellwiki/Package_versioning_policy
-- PVP summary: +-+------- breaking API changes -- PVP summary: +-+------- breaking API changes
...@@ -14,10 +14,10 @@ synopsis: IHaskell - IHaskellDisplay instances of the image types of ...@@ -14,10 +14,10 @@ synopsis: IHaskell - IHaskellDisplay instances of the image types of
-- A longer description of the package. -- A longer description of the package.
description: IHaskellDisplay instances of the image types of the JuicyPixels package. They are displayed as .JPG images. description: IHaskellDisplay instances of the image types of the JuicyPixels package. They are displayed as .JPG images.
DynamicImages and Images of types PixelRGBA16, PixelRGBA8, PixelRGB16, PixelRGB8, DynamicImages and Images of types PixelRGBA16, PixelRGBA8, PixelRGB16, PixelRGB8,
PixelYA16, PixelYA8, Pixel16, Pixel8, PixelCMYK16, PixelCMYK8, PixelF, Pixel32 PixelYA16, PixelYA8, Pixel16, Pixel8, PixelCMYK16, PixelCMYK8, PixelF, Pixel32
are supported. are supported.
The module IHaskell.Juicypixels re-exports the modules IHaskell.Display and Codec.Picture. The module IHaskell.Juicypixels re-exports the modules IHaskell.Display and Codec.Picture.
-- URL for the project homepage or repository. -- URL for the project homepage or repository.
homepage: http://www.github.com/gibiansky/ihaskell homepage: http://www.github.com/gibiansky/ihaskell
...@@ -32,21 +32,21 @@ license-file: LICENSE ...@@ -32,21 +32,21 @@ license-file: LICENSE
author: Roland Senn, author: Roland Senn,
Will Yager Will Yager
-- An email address to which users can send suggestions, bug reports, and -- An email address to which users can send suggestions, bug reports, and
-- patches. -- patches.
maintainer: rsx@bluewin.ch, maintainer: rsx@bluewin.ch,
will.yager@gmail.com will.yager@gmail.com
-- A copyright notice. -- A copyright notice.
-- copyright: -- copyright:
category: Development category: Development
build-type: Simple build-type: Simple
-- Extra files to be distributed with the package, such as examples or a -- Extra files to be distributed with the package, such as examples or a
-- README. -- README.
-- extra-source-files: -- extra-source-files:
-- Constraint on the version of Cabal needed to build this package. -- Constraint on the version of Cabal needed to build this package.
cabal-version: >=1.16 cabal-version: >=1.16
...@@ -55,19 +55,19 @@ cabal-version: >=1.16 ...@@ -55,19 +55,19 @@ cabal-version: >=1.16
library library
-- Modules exported by the library. -- Modules exported by the library.
exposed-modules: IHaskell.Display.Juicypixels exposed-modules: IHaskell.Display.Juicypixels
-- Modules included in this library but not exported. -- Modules included in this library but not exported.
-- other-modules: -- other-modules:
-- Other library packages from which modules are imported. -- Other library packages from which modules are imported.
build-depends: base >=4.6 && <5, build-depends: base >=4.9 && <5,
bytestring, bytestring,
directory, directory,
JuicyPixels >= 3.1.3, JuicyPixels >= 3.1.3,
ihaskell >= 0.6.2 ihaskell >= 0.6.2
-- Directories containing source files. -- Directories containing source files.
-- hs-source-dirs: -- hs-source-dirs:
-- Base language which the package is written in. -- Base language which the package is written in.
default-language: Haskell2010 default-language: Haskell2010
-- Initial ihaskell-display.cabal generated by cabal init. For further -- Initial ihaskell-display.cabal generated by cabal init. For further
-- documentation, see http://haskell.org/cabal/users-guide/ -- documentation, see http://haskell.org/cabal/users-guide/
-- The name of the package. -- The name of the package.
name: ihaskell-magic name: ihaskell-magic
-- The package version. See the Haskell package versioning policy (PVP) -- The package version. See the Haskell package versioning policy (PVP)
-- for standards guiding when and how versions should be incremented. -- for standards guiding when and how versions should be incremented.
-- http://www.haskell.org/haskellwiki/Package_versioning_policy -- http://www.haskell.org/haskellwiki/Package_versioning_policy
-- PVP summary: +-+------- breaking API changes -- PVP summary: +-+------- breaking API changes
...@@ -16,7 +16,7 @@ version: 0.3.0.1 ...@@ -16,7 +16,7 @@ version: 0.3.0.1
synopsis: IHaskell display instances for bytestrings synopsis: IHaskell display instances for bytestrings
-- A longer description of the package. -- A longer description of the package.
-- description: -- description:
-- URL for the project homepage or repository. -- URL for the project homepage or repository.
homepage: http://www.github.com/gibiansky/IHaskell homepage: http://www.github.com/gibiansky/IHaskell
...@@ -30,20 +30,20 @@ license-file: LICENSE ...@@ -30,20 +30,20 @@ license-file: LICENSE
-- The package author(s). -- The package author(s).
author: Adam Vogt author: Adam Vogt
-- An email address to which users can send suggestions, bug reports, and -- An email address to which users can send suggestions, bug reports, and
-- patches. -- patches.
maintainer: andrew.gibiansky@gmail.com maintainer: andrew.gibiansky@gmail.com
-- A copyright notice. -- A copyright notice.
-- copyright: -- copyright:
category: Development category: Development
build-type: Simple build-type: Simple
-- Extra files to be distributed with the package, such as examples or a -- Extra files to be distributed with the package, such as examples or a
-- README. -- README.
-- extra-source-files: -- extra-source-files:
-- Constraint on the version of Cabal needed to build this package. -- Constraint on the version of Cabal needed to build this package.
cabal-version: >=1.16 cabal-version: >=1.16
...@@ -52,12 +52,12 @@ cabal-version: >=1.16 ...@@ -52,12 +52,12 @@ cabal-version: >=1.16
library library
-- Modules exported by the library. -- Modules exported by the library.
exposed-modules: IHaskell.Display.Magic exposed-modules: IHaskell.Display.Magic
-- Modules included in this library but not exported. -- Modules included in this library but not exported.
-- other-modules: -- other-modules:
-- Other library packages from which modules are imported. -- Other library packages from which modules are imported.
build-depends: base >=4.6 && <5, build-depends: base >=4.9 && <5,
magic >= 1.0.8, magic >= 1.0.8,
text, text,
bytestring, bytestring,
...@@ -65,10 +65,10 @@ library ...@@ -65,10 +65,10 @@ library
base64-bytestring, base64-bytestring,
ipython-kernel, ipython-kernel,
ihaskell >= 0.5 ihaskell >= 0.5
-- Directories containing source files. -- Directories containing source files.
-- hs-source-dirs: -- hs-source-dirs:
-- Base language which the package is written in. -- Base language which the package is written in.
default-language: Haskell2010 default-language: Haskell2010
-- The name of the package. -- The name of the package.
name: ihaskell-plot name: ihaskell-plot
-- The package version. See the Haskell package versioning policy (PVP) -- The package version. See the Haskell package versioning policy (PVP)
-- for standards guiding when and how versions should be incremented. -- for standards guiding when and how versions should be incremented.
-- http://www.haskell.org/haskellwiki/Package_versioning_policy -- http://www.haskell.org/haskellwiki/Package_versioning_policy
-- PVP summary: +-+------- breaking API changes -- PVP summary: +-+------- breaking API changes
...@@ -13,7 +13,7 @@ version: 0.3.0.1 ...@@ -13,7 +13,7 @@ version: 0.3.0.1
synopsis: IHaskell display instance for Plot (from plot package) synopsis: IHaskell display instance for Plot (from plot package)
-- A longer description of the package. -- A longer description of the package.
-- description: -- description:
-- URL for the project homepage or repository. -- URL for the project homepage or repository.
homepage: http://www.github.com/gibiansky/ihaskell homepage: http://www.github.com/gibiansky/ihaskell
...@@ -27,21 +27,21 @@ license-file: LICENSE ...@@ -27,21 +27,21 @@ license-file: LICENSE
-- The package author(s). -- The package author(s).
author: Sumit Sahrawat <sumit.sahrawat.apm13@itbhu.ac.in> author: Sumit Sahrawat <sumit.sahrawat.apm13@itbhu.ac.in>
-- An email address to which users can send suggestions, bug reports, and -- An email address to which users can send suggestions, bug reports, and
-- patches. -- patches.
maintainer: Sumit Sahrawat <sumit.sahrawat.apm13@itbhu.ac.in>, maintainer: Sumit Sahrawat <sumit.sahrawat.apm13@itbhu.ac.in>,
Andrew Gibiansky <andrew.gibiansky@gmail.com> Andrew Gibiansky <andrew.gibiansky@gmail.com>
-- A copyright notice. -- A copyright notice.
-- copyright: -- copyright:
category: Development category: Development
build-type: Simple build-type: Simple
-- Extra files to be distributed with the package, such as examples or a -- Extra files to be distributed with the package, such as examples or a
-- README. -- README.
-- extra-source-files: -- extra-source-files:
-- Constraint on the version of Cabal needed to build this package. -- Constraint on the version of Cabal needed to build this package.
cabal-version: >=1.16 cabal-version: >=1.16
...@@ -49,19 +49,19 @@ cabal-version: >=1.16 ...@@ -49,19 +49,19 @@ cabal-version: >=1.16
library library
-- Modules exported by the library. -- Modules exported by the library.
exposed-modules: IHaskell.Display.Plot exposed-modules: IHaskell.Display.Plot
-- Modules included in this library but not exported. -- Modules included in this library but not exported.
-- other-modules: -- other-modules:
-- Other library packages from which modules are imported. -- Other library packages from which modules are imported.
build-depends: base >=4.6 && <5, build-depends: base >=4.9 && <5,
plot, plot,
bytestring, bytestring,
hmatrix >= 0.10, hmatrix >= 0.10,
ihaskell >= 0.6.2 ihaskell >= 0.6.2
-- Directories containing source files. -- Directories containing source files.
-- hs-source-dirs: -- hs-source-dirs:
-- Base language which the package is written in. -- Base language which the package is written in.
default-language: Haskell2010 default-language: Haskell2010
-- Initial ihaskell-static-canvas.cabal generated by cabal init. For -- Initial ihaskell-static-canvas.cabal generated by cabal init. For
-- further documentation, see http://haskell.org/cabal/users-guide/ -- further documentation, see http://haskell.org/cabal/users-guide/
-- The name of the package. -- The name of the package.
name: ihaskell-static-canvas name: ihaskell-static-canvas
-- The package version. See the Haskell package versioning policy (PVP) -- The package version. See the Haskell package versioning policy (PVP)
-- for standards guiding when and how versions should be incremented. -- for standards guiding when and how versions should be incremented.
-- http://www.haskell.org/haskellwiki/Package_versioning_policy -- http://www.haskell.org/haskellwiki/Package_versioning_policy
-- PVP summary: +-+------- breaking API changes -- PVP summary: +-+------- breaking API changes
...@@ -16,7 +16,7 @@ version: 0.1.0.0 ...@@ -16,7 +16,7 @@ version: 0.1.0.0
synopsis: IHaskell display for static-canvas synopsis: IHaskell display for static-canvas
-- A longer description of the package. -- A longer description of the package.
-- description: -- description:
-- URL for the project homepage or repository. -- URL for the project homepage or repository.
homepage: http://www.github.com/gibiansky/IHaskell homepage: http://www.github.com/gibiansky/IHaskell
...@@ -30,20 +30,20 @@ license-file: LICENSE ...@@ -30,20 +30,20 @@ license-file: LICENSE
-- The package author(s). -- The package author(s).
author: Andrew Gibiansky author: Andrew Gibiansky
-- An email address to which users can send suggestions, bug reports, and -- An email address to which users can send suggestions, bug reports, and
-- patches. -- patches.
maintainer: andrew.gibiansky@gmail.com maintainer: andrew.gibiansky@gmail.com
-- A copyright notice. -- A copyright notice.
-- copyright: -- copyright:
-- category: -- category:
build-type: Simple build-type: Simple
-- Extra files to be distributed with the package, such as examples or a -- Extra files to be distributed with the package, such as examples or a
-- README. -- README.
-- extra-source-files: -- extra-source-files:
-- Constraint on the version of Cabal needed to build this package. -- Constraint on the version of Cabal needed to build this package.
cabal-version: >=1.10 cabal-version: >=1.10
...@@ -52,22 +52,22 @@ cabal-version: >=1.10 ...@@ -52,22 +52,22 @@ cabal-version: >=1.10
library library
-- Modules exported by the library. -- Modules exported by the library.
exposed-modules: IHaskell.Display.StaticCanvas exposed-modules: IHaskell.Display.StaticCanvas
-- Modules included in this library but not exported. -- Modules included in this library but not exported.
-- other-modules: -- other-modules:
-- LANGUAGE extensions used by modules in this package. -- LANGUAGE extensions used by modules in this package.
-- other-extensions: -- other-extensions:
-- Other library packages from which modules are imported. -- Other library packages from which modules are imported.
build-depends: base >=4.7, build-depends: base >=4.9,
ihaskell, ihaskell,
static-canvas, static-canvas,
text text
-- Directories containing source files. -- Directories containing source files.
hs-source-dirs: src hs-source-dirs: src
-- Base language which the package is written in. -- Base language which the package is written in.
default-language: Haskell2010 default-language: Haskell2010
-- Initial ihaskell-widgets.cabal generated by cabal init. For -- Initial ihaskell-widgets.cabal generated by cabal init. For
-- further documentation, see http://haskell.org/cabal/users-guide/ -- further documentation, see http://haskell.org/cabal/users-guide/
-- The name of the package. -- The name of the package.
name: ihaskell-widgets name: ihaskell-widgets
-- The package version. See the Haskell package versioning policy (PVP) -- The package version. See the Haskell package versioning policy (PVP)
-- for standards guiding when and how versions should be incremented. -- for standards guiding when and how versions should be incremented.
-- http://www.haskell.org/haskellwiki/Package_versioning_policy -- http://www.haskell.org/haskellwiki/Package_versioning_policy
-- PVP summary: +-+------- breaking API changes -- PVP summary: +-+------- breaking API changes
...@@ -16,7 +16,7 @@ version: 0.2.3.2 ...@@ -16,7 +16,7 @@ version: 0.2.3.2
synopsis: IPython standard widgets for IHaskell. synopsis: IPython standard widgets for IHaskell.
-- A longer description of the package. -- A longer description of the package.
-- description: -- description:
-- URL for the project homepage or repository. -- URL for the project homepage or repository.
homepage: http://www.github.com/gibiansky/IHaskell homepage: http://www.github.com/gibiansky/IHaskell
...@@ -30,19 +30,19 @@ license-file: LICENSE ...@@ -30,19 +30,19 @@ license-file: LICENSE
-- The package author(s). -- The package author(s).
author: Sumit Sahrawat author: Sumit Sahrawat
-- An email address to which users can send suggestions, bug reports, and -- An email address to which users can send suggestions, bug reports, and
-- patches. -- patches.
maintainer: Sumit Sahrawat <sumit.sahrawat.apm13@iitbhu.ac.in>, maintainer: Sumit Sahrawat <sumit.sahrawat.apm13@iitbhu.ac.in>,
Andrew Gibiansky <andrew.gibiansky@gmail.com> Andrew Gibiansky <andrew.gibiansky@gmail.com>
-- A copyright notice. -- A copyright notice.
-- copyright: -- copyright:
-- category: -- category:
build-type: Simple build-type: Simple
-- Extra files to be distributed with the package, such as examples or a -- Extra files to be distributed with the package, such as examples or a
-- README. -- README.
extra-source-files: README.md, MsgSpec.md extra-source-files: README.md, MsgSpec.md
...@@ -89,12 +89,10 @@ library ...@@ -89,12 +89,10 @@ library
IHaskell.Display.Widgets.Singletons IHaskell.Display.Widgets.Singletons
-- LANGUAGE extensions used by modules in this package. -- LANGUAGE extensions used by modules in this package.
-- other-extensions: -- other-extensions:
-- Other library packages from which modules are imported.
-- singletons 2.* require ghc 7.10.2
build-depends: aeson >=0.7 build-depends: aeson >=0.7
, base >=4.7 && <5 , base >=4.9 && <5
, containers >= 0.5 , containers >= 0.5
, ipython-kernel >= 0.6.1.2 , ipython-kernel >= 0.6.1.2
, text >= 0.11 , text >= 0.11
...@@ -104,30 +102,13 @@ library ...@@ -104,30 +102,13 @@ library
, scientific -any , scientific -any
, unix -any , unix -any
, ihaskell >= 0.6.4.1 , ihaskell >= 0.6.4.1
if impl(ghc >= 7.10.2)
build-depends: singletons >= 0.9.0 -- The singletons package version is locked to the compiler
if impl(ghc == 7.10.1) -- so let cabal choose the right one.
build-depends: singletons >= 0.9.0 && <2.0 , singletons -any
, nats -any
if impl(ghc < 7.10.1)
build-depends: singletons >= 0.9.0 && <2.0
, nats <1.1
-- Directories containing source files. -- Directories containing source files.
hs-source-dirs: src hs-source-dirs: src
-- Base language which the package is written in. -- Base language which the package is written in.
default-language: Haskell2010 default-language: Haskell2010
-- Deal with small -fcontext-stack on ghc-7.8.
-- Default values:
-- ghc-7.6.* = 200
-- ghc-7.8.* = 20 -- Too small for vinyl & singletons
-- ghc-7.10.* = 100
if impl(ghc == 7.8.*)
ghc-options: -fcontext-stack=100
-- compile without optimizations not to run out of memory on travis
if impl(ghc == 7.10.*)
ghc-options: -O0
-- The name of the package. -- The name of the package.
name: ihaskell name: ihaskell
-- The package version. See the Haskell package versioning policy (PVP) -- The package version. See the Haskell package versioning policy (PVP)
-- for standards guiding when and how versions should be incremented. -- for standards guiding when and how versions should be incremented.
-- http://www.haskell.org/haskellwiki/Package_versioning_policy -- http://www.haskell.org/haskellwiki/Package_versioning_policy
-- PVP summary: +-+------- breaking API changes -- PVP summary: +-+------- breaking API changes
...@@ -13,8 +13,8 @@ version: 0.9.1.0 ...@@ -13,8 +13,8 @@ version: 0.9.1.0
synopsis: A Haskell backend kernel for the IPython project. synopsis: A Haskell backend kernel for the IPython project.
-- A longer description of the package. -- A longer description of the package.
description: IHaskell is a Haskell backend kernel for the IPython project. This allows using Haskell via description: IHaskell is a Haskell backend kernel for the IPython project. This allows using Haskell via
a console or notebook interface. Additional packages may be installed to provide richer data visualizations. a console or notebook interface. Additional packages may be installed to provide richer data visualizations.
-- URL for the project homepage or repository. -- URL for the project homepage or repository.
homepage: http://github.com/gibiansky/IHaskell homepage: http://github.com/gibiansky/IHaskell
...@@ -28,12 +28,12 @@ license-file: LICENSE ...@@ -28,12 +28,12 @@ license-file: LICENSE
-- The package author(s). -- The package author(s).
author: Andrew Gibiansky author: Andrew Gibiansky
-- An email address to which users can send suggestions, bug reports, and -- An email address to which users can send suggestions, bug reports, and
-- patches. -- patches.
maintainer: andrew.gibiansky@gmail.com maintainer: andrew.gibiansky@gmail.com
-- A copyright notice. -- A copyright notice.
-- copyright: -- copyright:
category: Development category: Development
...@@ -42,7 +42,7 @@ build-type: Simple ...@@ -42,7 +42,7 @@ build-type: Simple
-- Constraint on the version of Cabal needed to build this package. -- Constraint on the version of Cabal needed to build this package.
cabal-version: >=1.16 cabal-version: >=1.16
data-files: data-files:
html/kernel.js html/kernel.js
html/logo-64x64.svg html/logo-64x64.svg
...@@ -117,7 +117,7 @@ library ...@@ -117,7 +117,7 @@ library
IHaskell.BrokenPackages IHaskell.BrokenPackages
IHaskell.CSS IHaskell.CSS
Paths_ihaskell Paths_ihaskell
other-modules: other-modules:
IHaskellPrelude IHaskellPrelude
StringUtils StringUtils
...@@ -125,19 +125,19 @@ executable ihaskell ...@@ -125,19 +125,19 @@ executable ihaskell
-- .hs or .lhs file containing the Main module. -- .hs or .lhs file containing the Main module.
main-is: Main.hs main-is: Main.hs
hs-source-dirs: main hs-source-dirs: main
other-modules: other-modules:
IHaskellPrelude IHaskellPrelude
Paths_ihaskell Paths_ihaskell
ghc-options: -threaded -rtsopts ghc-options: -threaded -rtsopts
-- Other library packages from which modules are imported. -- Other library packages from which modules are imported.
default-language: Haskell2010 default-language: Haskell2010
build-depends: build-depends:
ihaskell -any, ihaskell -any,
base >=4.6 && < 4.13, base >=4.9 && < 4.13,
text >=0.11, text >=0.11,
transformers -any, transformers -any,
ghc >=7.6 || < 7.11, ghc >=8.0 && < 8.7,
process >=1.1, process >=1.1,
aeson >=0.7, aeson >=0.7,
bytestring >=0.10, bytestring >=0.10,
...@@ -147,9 +147,6 @@ executable ihaskell ...@@ -147,9 +147,6 @@ executable ihaskell
directory -any, directory -any,
ipython-kernel >=0.7 ipython-kernel >=0.7
if flag(binPkgDb)
build-depends: bin-package-db
Test-Suite hspec Test-Suite hspec
Type: exitcode-stdio-1.0 Type: exitcode-stdio-1.0
Ghc-Options: -threaded Ghc-Options: -threaded
......
...@@ -34,7 +34,7 @@ library ...@@ -34,7 +34,7 @@ library
other-extensions: OverloadedStrings other-extensions: OverloadedStrings
hs-source-dirs: src hs-source-dirs: src
default-language: Haskell2010 default-language: Haskell2010
build-depends: base >=4.6 && <5, build-depends: base >=4.9 && <5,
aeson , aeson ,
bytestring , bytestring ,
cereal , cereal ,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment