[Haskell] Proposal: Allow "\=" for field update in record update syntax

Benjamin Franksen benjamin.franksen at bessy.de
Fri Mar 4 09:26:52 EST 2005

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.


More information about the Haskell mailing list