On Tue, Jan 24, 2012 at 11:04 AM, Christopher Brown <cm...@st-andrews.ac.uk> wrote:
> At the moment (and spending half a day yesterday just working out how to > 'show' an AST from the ghc-api) I'm veering towards haskell-src-exts. I > think extending it to contain use and bind locations in the AST would be the > best option for me. There's also a question of having types in the AST as > well. > Have you looked at ghc-syb-utils, which gives a neat way to print an AST? http://hackage.haskell.org/packages/archive/ghc-syb-utils/0.2.1.0/doc/html/GHC-SYB-Utils.html -- JP Moresmau http://jpmoresmau.blogspot.com/ _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe