lean4-htt/tests/lean/run/34.lean
Leonardo de Moura 41e574d6cc chore: fix tests
2019-11-05 14:44:05 -08:00

6 lines
138 B
Text

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