[Python-ideas] 'where' statement in Python?
daniel at stutzbachenterprises.com
Tue Jul 20 20:29:04 CEST 2010
On Tue, Jul 20, 2010 at 1:16 PM, Guido van Rossum <guido at python.org> wrote:
> Given the large number of Python users familiar with SQL compared to
> those familiar with Haskell, I think we'd do wise to pick a different
> keyword instead of 'where'. I can't think of one right now though.
Taking a cue from mathematics, how about "given"?
c = sqrt(a*a + b*b) given:
a = retrieve_a()
b = retrieve_b()
Daniel Stutzbach, Ph.D.
President, Stutzbach Enterprises, LLC <http://stutzbachenterprises.com>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-ideas