patch applied (ghc): Make the new ClassOp/DFun selection mechanism
work for single-method classes
Simon Peyton Jones
simonpj at microsoft.com
Fri Nov 13 06:13:50 EST 2009
Fri Nov 13 03:12:11 PST 2009 simonpj at microsoft.com
* Make the new ClassOp/DFun selection mechanism work for single-method classes
Ignore-this: c53042ab61bddb8b998e85f03d5e4ff4
I'd forgotten the case of single-method classes! I've also improved
the documentation. See
Note [ClassOp/DFun selection]
Note [Single-method classes]
both in TcInstDcls
M ./compiler/basicTypes/MkId.lhs -16 +25
M ./compiler/typecheck/TcInstDcls.lhs -9 +72
View patch online:
http://darcs.haskell.org/ghc/_darcs/patches/20091113111211-1287e-b739ae2a50f896466832daaf9404c4fb4741b7c8.gz
More information about the Cvs-ghc
mailing list