patch applied (ghc): Make Template Haskell classInstances function return [ClassInstance]
Simon Peyton Jones
simonpj at microsoft.com
Thu Jan 13 12:55:28 CET 2011
Thu Jan 13 03:14:21 PST 2011 simonpj at microsoft.com
* Make Template Haskell classInstances function return [ClassInstance]
This is a recently-introduce function, which was returning
a [Name], being the names of the dfuns. But what you really
want (obviously!) is the ClassInstances, and we have a TH type
This is an API change, so don't merge into GHC 7.0. But it's
a new part of TH which is still settling down.
Fixes Trac #4863.
M ./compiler/typecheck/TcSplice.lhs -3 +2
View patch online:
More information about the Cvs-ghc