Remix.run Logo
1-more 3 hours ago

This is in fact how Elm does it! Tail call recursion compiles to a while loop.