The latest version of ghc-exactprint is 1.11.0.0-0.
ghc-exactprint
Version 0.5.2 revision 0 uploaded by mpickering.
Package meta
- Synopsis
- ExactPrint for GHC
- Description
Using the API Annotations available from GHC 7.10.2, this library provides a means to round trip any code that can be compiled by GHC, currently excluding lhs files.
It does this with a phased approach
Delta - converts GHC API Annotations into relative offsets, indexed by SrcSpan
Transform - functions to facilitate changes to the AST, adjusting the annotations generated in the Delta phase to suit the changes.
Print - converts an AST and its annotations to properly formatted source text.
Note: requires GHC 7.10.2 or later
- Author
- Alan Zimmerman, Matthew Pickering
- Bug reports
- n/a
- Category
- Development
- Copyright
- n/a
- Homepage
- n/a
- Maintainer
- alan.zimm@gmail.com
- Package URL
- n/a
- Stability
- n/a