lean4-htt/old_tests/tests/lean/exact_error_pos.lean
2018-04-10 12:56:55 -07:00

16 lines
166 B
Text

constant f : nat → nat → nat
def ex1 : nat :=
begin
exact 10 +
(f 1 (f 0 tt))
end
def ex₂ : nat :=
begin
apply 10 +
(f 1 (f 0 tt))
end