Y
Hacker News
new
|
ask
|
show
|
jobs
by
repsilat
5084 days ago
In this case it's probably unnecessary. It's probably better to template these higher-order functions on their function arguments and just return the lambda itself instead of returning it in a function wrapper.