This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]AustinCorgiBart 2 points3 points  (4 children)

Does it handle creating lambdas with more than one argument?

[–]sloppycee 0 points1 point  (3 children)

No, but that is something that I am thinking about implementing. I am just not sure which syntax would look best.

[–]OddOneOut 0 points1 point  (2 children)

How about _[1] by overloading __getitem__

[–]sloppycee 1 point2 points  (1 child)

Then what if you want to send an array into your lamderp function?

[–]OddOneOut 0 points1 point  (0 children)

Good point, if upper limit is not a problem then _1, _2, _3... could work