Alexis Layton <alexis.layton at post.harvard.edu>: > One simple style is to "infer" the lambda using positional > arguments, for example: > > (&1 + &2.foo()) > > This style of construct implies the lambda or function without really > saying it, which may be too magical for Python. I think it's ambiguous, too, since it's not clear how far the lambda extends. Is ((&1 + &2), (&1 - &2)) one lambda returning a tuple, or a tuple containing two lambdas? Greg Ewing, Computer Science Dept, +--------------------------------------+ University of Canterbury, | A citizen of NewZealandCorp, a | Christchurch, New Zealand | wholly-owned subsidiary of USA Inc. | greg at cosc.canterbury.ac.nz +--------------------------------------+
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4