blob: c50bf4a6e526dcba6677225f42330e02534daa51 [file] [edit]
import Lean
def test (a : Nat) :=
let foo := match a with
| .zero => a
| .succ b => b
Nat.add foo .zero
run_meta Lean.Compiler.compile #[``test]