Use `func` and `new_func` instead of `f` and `new_f`.  I like concise but `f` is a bit too far and `func` really reminds that it is a function.