[Haskell-cafe] Showing the 1 element tuple

Henning Thielemann lemming at henning-thielemann.de
Wed Dec 20 05:31:39 EST 2006


On Tue, 19 Dec 2006, Neil Mitchell wrote:

> () -- 0 element tuple
> (,) a b -- 2 element tuple
> (,,) a b c -- 3 element tuple

The problem is that the separator approach (comma) doesn't scale well:
  http://haskell.org/haskellwiki/Terminator_vs._separator


More information about the Haskell-Cafe mailing list