[Python-ideas] Python Users Aren't Perfect

Greg Ewing greg.ewing at canterbury.ac.nz
Mon Dec 12 22:21:11 CET 2011


Masklinn wrote:

> FWIW, Haskell does not have a literal singleton (the standard defines 
> "unit" `()` and 2-tuple through 15-tuple)

That's because, due to its static typing, there is no
reason you would ever need to use a 1-tuple rather than
a bare value. We're not that lucky in Python, though.

-- 
Greg



More information about the Python-ideas mailing list