On Fri, 4 Mar 2005 15:26:52 +0100, Benjamin Franksen <[EMAIL PROTECTED]> wrote: > 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.
And there _should_ only be one type. Checkout 'appT'. Some real documentation for TH would clear misconceptions such as this. -- Friendly, Lemmih _______________________________________________ Haskell mailing list Haskell@haskell.org http://www.haskell.org/mailman/listinfo/haskell