Template Haskell: 'foo in patterns?
conal at conal.net
Tue Jan 24 06:58:32 CET 2012
If I understand correctly, 'foo, of type Name, is a constant value in any
given context. And yet it doesn't appear to be allowed in patterns, thus
leading to awkwardly explicit use of variables and equality guards in
otherwise pattern-matching code. Are there reasons not to allow 'foo in
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libraries