[Haskell-cafe] Showing the 1 element tuple

Greg Fitzgerald garious at gmail.com
Tue Dec 19 18:25:29 EST 2006


On Tue, Dec 19, 2006 at 10:41:56PM +0000, Neil Mitchell wrote:
> A weird question, what does the 1 element tuple look like?

Could tuples be implemented as an HList?

singleton = (`hCons` hNil)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20061219/40eb23d5/attachment.htm

More information about the Haskell-Cafe mailing list