[Haskell-cafe] Re: ANNOUNCE: HaRe, the Haskell Refactorer 0.6

Chris BROWN chrisb at cs.st-andrews.ac.uk
Wed Jun 30 06:30:24 EDT 2010

> The Annotated part of haskell-src-exts provides this I think:
> http://hackage.haskell.org/packages/archive/haskell-src-exts/1.9.0/doc/html/Language-Haskell-Exts-Annotated.html

Thanks, Ivan, I'll take a look at this. I wonder if would be possible to write a mapping for haskell-exts-annotated data types -> programmatica data types. At the very least, HaRe would then be able to parse non Haskell 98. 

The problem, however, would be the generated refactored file: we currently use a combination of the transformed token stream and AST to build a refactored file. There may have to be some sort of mapping back to haskell-exts-annoted data type first, before generation begins.


More information about the Haskell-Cafe mailing list