Why tuples use parentheses ()'s instead of something else like <>'s?

Dan Sommers me at privacy.net
Wed Dec 29 16:38:30 EST 2004


On 29 Dec 2004 21:03:59 GMT,
Grant Edwards <grante at visi.com> wrote:

> On 2004-12-29, Reinhold Birkenfeld <reinhold-birkenfeld-nospam at wolke7.net> wrote:
>>>> Perl6 experiments with the use of guillemots as part of the syntax.
>>> 
>>> As if Perl didn't look like bird-tracks already...
>>> 
>>> http://www.seabird.org/education/animals/guillemot.html
>>> http://www.birdguides.com/html/vidlib/species/Uria_aalge.htm
>> 
>> Well,
>> 
>> (1,1,2,3,5) »+« (1,2,3,5,8);  # results in (2,3,5,8,13)

> I was pretty sure that « and » were guillmots, but google sure
> preferred the sea bird when I asked it.

They're guillemets (with an "e"); this is a [relatively] well-known
Adobe SNAFU.  (A quick google search or two failed to find an
authoritative reference, but I know that such references are out there
somewhere.)

Regards,
Dan

-- 
Dan Sommers
<http://www.tombstonezero.net/dan/>
Never play leapfrog with a unicorn.



More information about the Python-list mailing list