blob: f6ee81fd13cc72d9d65616e8b269b1252a5f6031 [file]
partial def foo : ∀ (n : Nat), StateM Unit Unit
| n =>
if n == 0 then pure () else
match n with
| 0 => pure ()
| n+1 => foo n