Hello,<br><br><div class="gmail_quote">2011/2/15 Simon Peyton-Jones <span dir="ltr">&lt;<a href="mailto:simonpj@microsoft.com">simonpj@microsoft.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<br>
but currently any pragmas in a class decl are treated as attaching to the *default method*, not to the method selector:<br><br></blockquote><div><br>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&#39;s guide; currently, <a href="http://www.haskell.org/ghc/docs/latest/html/users_guide/rewrite-rules.html">http://www.haskell.org/ghc/docs/latest/html/users_guide/rewrite-rules.html</a> says nothing about the semantics of rewrite rules in classes/instances.<br>

<br><br>Cheers,<br>Pedro<br></div></div><br>