AST equality test that ignores NodeInfo

Bueno, Denis denbuen at
Thu Feb 26 11:40:47 EST 2009

Hi all,

Is there a better way than implementing my own equality operator that
explicitly ignores NodeInfo, which is almost all boilerplate and will take a
lot of time?  Is there a way to (ab)use Data.Typeable for this?

If I have an AST for a C file, I would like to be able to read expressions
from another file, to see if any of those expressions match any part of the
AST while I'm traversing the AST.

More information about the Language-c mailing list