lean4-htt/tests/lean/run/match_anonymous_constructor.lean
2016-09-20 08:32:37 -07:00

9 lines
115 B
Text

definition p1 := (10, 20, 30)
definition v2 : nat :=
match p1 with
⟨a, b⟩ := a
end
example : v2 = 10 := rfl