[Haskell-cafe] ghc api renamed source

Phyx lonetiger at gmail.com
Wed May 12 09:35:34 EDT 2010


Hi all,

 

I was wondering if it's possible to get to the renamed source before
actually typechecking,

 

I currently have

 

    parsed  <- parse modName

    checked <- typecheckModule parsed

    let renamed = tm_renamed_source     checked

        value   = tm_typechecked_source checked

 

but if typechecking failes, I get no information at all (an error), while I
should be able to still get the renamed source.

Any suggestions?

 

Cheers,

Phyx

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20100512/b9e11576/attachment.html


More information about the Haskell-Cafe mailing list