[Python-il] [pyweb-il:1072] Python coding question

Gabor Szabo szabgab at gmail.com
Wed Jul 7 09:54:30 IDT 2010


Hi,


> On Thu, Jul 1, 2010 at 5:35 PM, Dov Grobgeld <dov.grobgeld at gmail.com> wrote:
>>
>> The use of assigment through left arrow (←) would solve this. Which
>> reminds me of the fact that I would have loved having a language like python
>> that uses more of unicode for its syntax.
>>
>> Then "python" might look like:
>>
>>     ∀ n ∈ names:
>>       if n ≠ "foo":
>>         α ← n
>>         ß = re∘search〈"foo", α〉
>>

>> Here's another pythonic construct that imo would look nicer.
>>
>>     f← λ x: x↑2
>>     a←f〈2〉
>>

I have not done any math for a long, long time. Would you mind explaining
what would the above do?

Gabor


More information about the Python-il mailing list