
9 Sep
2006
9 Sep
'06
3:36 p.m.
Daniel Fischer wrote:
Another thing: Would it be a good idea to create derived Read instances that could parse both, "A `And` A" and "And A A" ? Since 6.4.2 parses the former and 6.2.2 parses the latter that should be possible, I believe (and both forms are accepted at the ghci prompt).
I made a Template Haskell function that does exactly that. I wrote about it to the template-haskell list: http://www.haskell.org/pipermail/template-haskell/2006-September/000587.html Cheers, Misha