git.iko.soy/rowtype-yoga/purescript-backend-optimizer
on main help sign in
9 lines 178 B history raw
1module Snapshot.Tco04 where
3import Prelude
5test1 :: Int -> Int
6test1 n = if n == 1 then n else test2 (n - 1)
8test2 :: Int -> Int
9test2 m = if m == 2 then m else test1 (m - 2)