Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
vmchale
on Jan 8, 2021
|
parent
|
context
|
favorite
| on:
How Tail Call Optimization Works
> Thanks to laziness, foldr is usually preferred, and it is not tail recursive.
With guarded recursion. foldl' has its place.
eru
on Jan 11, 2021
[–]
Yes, hence my weasel-y expression of 'usually preferred'.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
With guarded recursion. foldl' has its place.