Hello,

2011/2/15 Simon Peyton-Jones <simo...@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.htmlsays
nothing about the semantics of rewrite rules in classes/instances.


Cheers,
Pedro
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to