i would suggest overloading the 'with', 'as' combo
On Tue, Jul 20, 2010 at 8:29 PM, Daniel StutzbachOr if we'd rather overload an existing keyword than add a new one,
<daniel@stutzbachenterprises.com> wrote:
> On Tue, Jul 20, 2010 at 1:16 PM, Guido van Rossum <guido@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()
"with" reads well too.
George
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
http://mail.python.org/mailman/listinfo/python-ideas