-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This add missing `Functor` & `Applicative` instances for `P` and `Lex` (and `DocM`) monads needed for AMP compatibility. The package version is minor-bumped to v1.0.2.0 since new instances were added to the exposed API. Moreover, a Hackage-compliant changelog file is added as extra-source-files.
- Loading branch information
Showing
4 changed files
with
40 additions
and
3 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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# 1.0.2.0 | ||
|
||
- Add support for GHC 7.10 & base-4.8) | ||
|
||
- Add missing `Functor` & `Applicative` instances for `P` and `Lex` | ||
monads needed for AMP compatibility. |
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 |
---|---|---|
@@ -1,10 +1,12 @@ | ||
name: haskell-src | ||
version: 1.0.1.6 | ||
-- don't forget to update the changelog.md! | ||
version: 1.0.2.0 | ||
license: BSD3 | ||
license-file: LICENSE | ||
author: Simon Marlow, Sven Panne and Noel Winstanley | ||
-- Maintained through https://github.com/haskell-pkg-janitors. Join us! | ||
maintainer: Conrad Parker <[email protected]> | ||
maintainer: Herbert Valerio Riedel <[email protected]> | ||
bug-reports: https://github.com/haskell-pkg-janitors/haskell-src/issues | ||
category: Language | ||
synopsis: Support for manipulating Haskell source code | ||
description: | ||
|
@@ -16,11 +18,13 @@ description: | |
build-type: Simple | ||
cabal-version: >=1.6 | ||
|
||
extra-source-files: changelog.md | ||
|
||
flag split-base | ||
|
||
source-repository head | ||
type: git | ||
location: git://github.com/haskell-pkg-janitors/haskell-src.git | ||
location: https://github.com/haskell-pkg-janitors/haskell-src.git | ||
|
||
library | ||
exposed-modules: | ||
|
@@ -30,10 +34,14 @@ library | |
Language.Haskell.Pretty, | ||
Language.Haskell.Syntax, | ||
Language.Haskell.ParseUtils | ||
|
||
if flag(split-base) | ||
build-depends: base >= 4 && < 5, syb, pretty, array | ||
else | ||
build-depends: base < 3 | ||
|
||
build-tools: happy | ||
|
||
extensions: CPP | ||
nhc98-options: -K11M | ||
ghc-options: -Wall -O2 |