[Haskell-cafe] Re: is there any reason why Language.C.Syntax.AST.CTranslUnit doesn't derive show?

Anatoly Yakovenko aeyakovenko at gmail.com
Fri Mar 27 21:07:56 EDT 2009


ah, i am guessing its because you can use Data.Generics.gshow to do
the same thing.  Seems like that library will come in handy when
manipulating the AST, pretty cool stuff.

On Fri, Mar 27, 2009 at 5:53 PM, Anatoly Yakovenko
<aeyakovenko at gmail.com> wrote:
> is there any reason why Language.C.Syntax.AST.CTranslUnit doesn't
> derive show?  I would like to look at the data structure it generates.
>  It's a lot easier to experiment it when i can write a template C
> file, print out the AST and then modify that data structure directly,
> instead of trying to grok the library.
>
> Thanks for your great work btw, the parser is pretty sweet.
> Anatoly
>


More information about the Haskell-Cafe mailing list