A friendlier, sugarier lambda -- a proposal for Ruby-like blocks in python
snaury at gmail.com
Sun Oct 15 01:05:01 CEST 2006
brenocon at gmail.com wrote:
> Compared to the Python I know and love, Ruby isn't quite the same.
> However, it has at least one terrific feature: "blocks".
Well, I particularly like how Boo (http://boo.codehaus.org) has done
func(a, b, c) def(p1, p2, p3):
I was so attached to these "nameless" def-forms that I was even shocked
when I found that this doesn't work in python:
f = def(a, b):
Another good feature of Boo, btw.
More information about the Python-list