Tuple Format?

Cliff Crawford cjc26 at nospam.cornell.edu
Fri Sep 1 09:13:48 EDT 2000


* Gene C <gchiaramonte at yahoo.com> menulis:
| Has anyone considered a different format for tuples to get around the
| somewhat strange single element tuple format? I find when explaining the
| language to others, the single tuple format always solicits a, "Thats
| weird."
| 
| For example, instead of (x,) how about <x>
| and (a, b, c) would be <a, b, c>

Good idea, but it would be hard to parse..for example:

# tuple of booleans

< a==b, c>d, e!=f >


-- 
http://www.people.cornell.edu/pages/cjc26/     "This is what his platitudes
amount to, although, of course, they're daubed over with the viscid slobber
of  demented drivel  devised by his  henchmen and mindlessly  multiplied by
treasonous heartless pissants.  And that, in my view, is our real problem."



More information about the Python-list mailing list