Python3k extended grammar

Michael Hudson mwh21 at cam.ac.uk
Sat May 20 12:50:42 EDT 2000


"Thomas Malik" <340083143317-0001 at t-online.de> writes:

> > hmmm. am I the only one that read -> as yields?
> >
> seems so. Every other programming language says 'return'.

For what?  I thought this was about writing method/function signatures
and I don't know of any programming language that uses "return" in
that context.  And in fact both ML and Haskell use "->" for this
purpose.  So it's not a wholly plucked out of the air notation.

Cheers,
M.

-- 
  Of the four project development variables - scope, cost, time and
  quality - quality isn't really a free variable.  The only possible
  values are "excellent" and "insanely excellent", depending on
  whether lives are at stake.              -- Kent Beck, XP Explained



More information about the Python-list mailing list