Chip Salzenberg <[EMAIL PROTECTED]> writes: > According to David Whipp: > > (7,8,9) == 3 # true > > (7,8) == 2 # true > > (7) == 1 # false > > () == 0 # true? > > Hell, yes, why didn't I think of that? This is exactly the same > problem that afflicts Python's tuple syntax!
various 1-uple syntaxes:
a or [a] Ruby
a, Python
tuple([a]) Python
(a) Perl
((a)) merd
{a} Smalltalk
"http://merd.net/pixel/language-study/syntax-across-languages.html#Various Data Types"
