On Sunday 20 February 2005 14:19, Keean Schupke wrote:
> TH has supported multi-parameter classes for a while... new in 6.4 is
> support for fundeps.

Yes, but unfortunately TH cannot create instances for them which is usually 
the boilerplate you want to avoid. From Language.Haskell.TH:

data Dec =
        ...
        ClassD Cxt Name [Name] [FunDep] [Dec]
        InstanceD Cxt Type [Dec]
        ...

Only one 'Type' can be given for an instance.

Ben
_______________________________________________
Haskell mailing list
Haskell@haskell.org
http://www.haskell.org/mailman/listinfo/haskell

Reply via email to