builtin set literal

bearophileHUGS at lycos.com bearophileHUGS at lycos.com
Fri Feb 16 03:25:27 EST 2007


Raymond Hettinger:
> One of the reasons for the
> rejection was that the small benefit of a literal notion was more than
> offset by the attendant need for syntactical atrocities like those
> listed above.

{:} for empty dict and {} for empty set don't look too much atrocious
to me.


Note: the language Fortress, that in graphic modality uses unicode for
its sources, has many collection literals (6 or more, you can see 3 of
them at page 21):
http://research.sun.com/projects/plrg/PLDITutorialSlides9Jun2006.pdf

Bye,
bearophile




More information about the Python-list mailing list