If at all, it should be function.bind(). It was discussed and dropped; I
don't remember why, but one problem is that it looks like an in-place
Personally I think that higher order programming should not be encouraged
(as opposed to functional programming), and from the lambda syntax I
understand it isn't.
בתאריך יום ב׳, 19 בספט' 2016, 18:24, מאת Michel Desmoulin <
> While lambda are a great tools that can do the job of partial, partial
> is always a superior solution when trying to curry a Python function
> because it's explicit and easier to debug.
> Having to import it everytime means I usually go for a lambda out of
> lazyness, but also means that most people don't know about it.
> If think having it in the builtins would promote cleaner, faster code,
> but would also facilitate and encourage coding patterns using curried
> Python-ideas mailing list
> Code of Conduct: http://python.org/psf/codeofconduct/
Python-ideas mailing list
Code of Conduct: http://python.org/psf/codeofconduct/