11 Feb
2021
11 Feb
'21
5:18 p.m.
Hello,
On Thu, 11 Feb 2021 12:24:55 +0100
"J. Pic"
Hi all,
Lambdas can be defined as such:
w = lambda: [12] x = lambda y: len(y)
I'd like to propose the following:
w = (): [12]
What will be the meaning of {(): [12]} ? Hint: it will be a dictionary of empty tuple mapping to a list, where do you see lambda here? Generally, if you have an idea like that, please go ahead and implement it with one of the existing macro engines for Python. That alone should give yourself more insight how viable it is. Here's tutorial to get you started: https://github.com/aroberge/ideas#usage -- Best regards, Paul mailto:pmiscml@gmail.com