Y
Hacker News
new
|
ask
|
show
|
jobs
by
calcnerd256
5806 days ago
As you most likely realize, f base needs to equal the identity function. After that, it looks like t is your iterator and g is the function you want to fold. It looks like f is an iterator-friendly fold function.