Hello,

2011/2/15 Simon Peyton-Jones <simonpj@microsoft.com>

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.html says nothing about the semantics of rewrite rules in classes/instances.


Cheers,
Pedro