nokko
Re:Pattern matching accepted for Python
on Tuesday February 09, 2021 @05:11PM (#26083081)
I mean, if you're comfortable with `functools.partial`, lambdas are no great stretch:
greet_fstring = partial(lambda _,s: f"hello {s}", greeting)