How can I curry lambda functions in Python. I am using Toolz library, but it provides currying functionality for normal functions only and not lambda functions
Asked
Active
Viewed 70 times
1
-
lambda functions are normal functions.. Show us what, exactly, you're having problems with. – thebjorn Mar 14 '17 at 08:51
-
This should also work with *lambda functions*, since Python does not really make a distinction between them. – Willem Van Onsem Mar 14 '17 at 08:51
-
1Since `curry` is a decorator in in Toolz, the q/a below may help. – MB-F Mar 14 '17 at 08:52
-
@kazemakase Exactly what I wanted. Thanks! Should I delete the question? – jgr0 Mar 14 '17 at 08:54
-
Yes, please delete. – thebjorn Mar 14 '17 at 09:02