News for hackers. Stuff that matters.
Re:More intuitive partial function application in Python by toomanydoubts on Sunday February 20, 2022 @09:28PM (#30411316)
Interesting, but I'm wondering how does partial application for external functions works. Do you need to redefine the functions using the decorator?
Re:More intuitive partial function application in Python by cgrimm1994 on Monday February 21, 2022 @08:55AM (#30415886)
One option would be to wrap the functions

  from lib import external
  from better_partial import partial as pp, _
  pp(external)(..., arg4=10)