13 May
2023
13 May
'23
11:39 p.m.
Seems fine, but a pypi library seems better than the standard library. Separately, I think this is usually called "currying", and there are already libraries which implement this functionality, eg toolz: https://toolz.readthedocs.io/en/latest/curry.html Best wishes, Lucas Wiman