Is ‘tail call modulo cons’ implemented in elm-optimize-level-2? I saw some comments around that in the thread linked below. Not sure if level-2 would be a convenient place to implement that, maybe needs to be in the compiler.
rupert
7
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Tail-call optimization | 16 | 1535 | June 18, 2021 | |
| Uncaught RangeError: Maximum call stack size exceeded | 7 | 3395 | September 20, 2018 | |
| Using safe recursion: how deep is a recursive stack? | 2 | 487 | February 9, 2024 | |
| RangeError: Maximum call stack size exceeded when decoding a long list | 9 | 3546 | November 18, 2019 | |
| Elm Stack Saver | 9 | 378 | January 9, 2026 |