Maurício CA wrote:
> My only complaint is that the macros get confused if you use a
> Haskell type that has a single quote in it.
Can you give me an example?
It turns out that I read the documentation incorrectly, but here is what
I was trying to do.
I had two structs, one of which used the other as a field type. I was
using the generated identifier of the first as the type for the second,
so it had the form c'STRUCT_NAME. So the field macro looked like this:
#field foo , c'STRUCT_NAME
It did not like this, complaining about the single quote.
I have since noticed the <STRUCT_NAME> notation in the documentation.
Perhaps the actual bug is that this notation was not pointed out in prose?
- Jake
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe