Make Template Haskell classInstances function return [ClassInstance]
authorsimonpj@microsoft.com <unknown>
Thu, 13 Jan 2011 11:14:21 +0000 (11:14 +0000)
committersimonpj@microsoft.com <unknown>
Thu, 13 Jan 2011 11:14:21 +0000 (11:14 +0000)
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
for that.

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.


No differences found