A framework for extending Haskell's syntax via quick-and-dirty preprocessors http://www.eecs.harvard.edu/~tov/pubs/haskell-session-types/
|Version on this page:||1.0.1|
|LTS Haskell 11.1:||1.0.1|
|Stackage Nightly 2018-03-12:||1.0.1|
|Latest on Hackage:||1.0.1|
Module documentation for 1.0.1
This library provides a quick-and-dirty (but often effective) method for extending Haskell's syntax using a custom preprocessor. It parses Haskell into a bare-bones AST with just enough knowledge of the syntax to preserve nesting, and then allows transformations on the AST.
See the package ixdopp (http://hackage.haskell.org/cgi-bin/hackage-scripts/package/ixdopp) for an example of how to do this.
- Changed type of transformer from [Ast] -> [Ast] to [Ast] -> IO [Ast]
(as suggested by John MacFarlane)
- Updated for GHC 7 (Thanks to Yusaku HASHIMOTO)
- Updated for GHC 6.10
- Initial release