2 ms·
You can make the Y combinator work in eager languages. Famously, in Scheme and other Lisps. This website we are discussing on is written in a sort-of Scheme d
by eru 1y ago
You can make the Y combinator work in eager languages.
Famously, in Scheme and other Lisps. This website we are discussing on is written in a sort-of Scheme dialect.
- zelphirkalt 1y agoYep. The comment about eager languages I think is not really correct, as their eagerness is not really the problem. The problem is being bad at recursion and not having TCO, thus running into a stack overflow. But maybe even more correct would be to say that this or that JS engine doesn't implement TCO. Would Y have simply worked in Safari?