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
  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.

    M ./compiler/typecheck/TcSplice.lhs -3 +2

View patch online:
http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=ghc;a=darcs_commitdiff;h=20110113111421-1287e-be748bc9d6f83d540d0875d2b7ffcffae2cd88b5.gz



More information about the Cvs-ghc mailing list