Skip to content
GHC version of haskell-src-exts exactPrint
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples
hcar
roundtrip-config
src-ghc710/Language/Haskell/GHC/ExactPrint
src-ghc80/Language/Haskell/GHC/ExactPrint
src-ghc82/Language/Haskell/GHC/ExactPrint
src-ghc84/Language/Haskell/GHC/ExactPrint
src-ghc86/Language/Haskell/GHC/ExactPrint
src/Language/Haskell/GHC
tests
.gitignore
.travis.yml
ChangeLog
IDEAS.md
LICENSE
NEW-GHC.md
NOTES.md
README.md
ROUNDTRIP.md
Setup.hs
TODO.md
cabal.project
configure.sh
emacs-ws-cleanup.sh
ghc-exactprint.cabal
hackage-docs.sh
mkdeps.sh
scratch.txt
stack-7.10.yaml
stack-8.0.yaml
stack-8.2.1.yaml
stack-8.2.2.yaml
stack-8.4.3.yaml
stack-8.4.4.yaml
test.sh
travis_long

README.md

ghc-exactprint

Available on Hackage License BSD3 Build Status

GHC version of haskell-src-exts exactPrint

Note: This only works with GHC 7.10.2 and beyond. As of now (2015-06-03) GHC 7.10.2 is not yet released

Building with stack

Requires stack Version 0.1.1.0, Git revision 91fe70306f51eb3d68667a0d6e09a7d7ebbeb2b6 or later

GHC 7.10.2 (rc2 and later)

Ensure the right GHC is on your path using https://github.com/spl/multi-ghc

ghc-config 7.10.1.20150619

Build, test

stack build
stack test

GHC 7.11.20150621 and later

Ensure the right GHC is on your path using https://github.com/spl/multi-ghc

ghc-config 7.11.20150621

Build, test

stack --skip-ghc-check --stack-yaml stack-7.11.yaml build
stack --skip-ghc-check --stack-yaml stack-7.11.yaml test

Current Limitations

  • Does not process CPP properly [should be sorted soon]
  • Does not process Lhs files properly
  • Does not properly process multi-line strings in WARNING and DEPRECATED pragmas [ see https://phabricator.haskell.org/D907 which missed the cut for 7.10.2 due to AST change ]
  • Does not preserve the unicode * character, reducing it to a standard one.
You can’t perform that action at this time.