on 267f708 help sign in
elk/tests/test-files/good/CodeGenBugs/TailRecursion_NameNormalization.elm
8 lines 268 B history raw
1-- From https://github.com/elm-lang/elm-compiler/issues/1226
2--
3-- When code can be tail call optimized, one of the arguments turns into
4-- the loop variable. Its name must be properly normalized, for example,
5-- to avoid primes.
7go n' = if n' then go n' else False