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 | 15 | 1580 | June 8, 2021 | |
| Uncaught RangeError: Maximum call stack size exceeded | 6 | 3406 | September 10, 2018 | |
| Using safe recursion: how deep is a recursive stack? | 1 | 504 | January 30, 2024 | |
| RangeError: Maximum call stack size exceeded when decoding a long list | 8 | 3574 | November 8, 2019 | |
| Elm Stack Saver | 8 | 430 | December 30, 2025 |