3 ms·
Of course, some languages only support elimination of tail calls when they're recursive. I believe that Scala suffers from this (since the JVM doesn't support
by kvb 14y ago
Of course, some languages only support elimination of tail calls when they're recursive. I believe that Scala suffers from this (since the JVM doesn't support tail call elimination).
- sdevlin 14y agoGood point, I'm not very familiar with Scala. I think Clojure may also have this limitation.