
15 Feb
2011
15 Feb
'11
10:54 a.m.
Hello,
2011/2/15 Simon Peyton-Jones
but currently any pragmas in a class decl are treated as attaching to the *default method*, not to the method selector:
Thanks for this clarification, I had wondered about this for a while. I think it would also be nice to mention this in the user's guide; currently, http://www.haskell.org/ghc/docs/latest/html/users_guide/rewrite-rules.htmlsa... nothing about the semantics of rewrite rules in classes/instances. Cheers, Pedro