[Template-haskell] TupleT type constructor

Alfonso Acosta alfonso.acosta at gmail.com
Fri Nov 2 14:44:57 EDT 2007


On 11/2/07, Simon Peyton-Jones <simonpj at microsoft.com> wrote:
> I agree.  As in: I would not be opposed to removing it.  But we'd just need to be sure there was a convenient way of conjuring up the appropriate data constructor for an n-tuple.

TH.Syntax already provides:

tupleTypeName :: Int -> Name
tupleDataName :: Int -> Name

IMHO, that should be enough


More information about the template-haskell mailing list