lean4-htt/tests/lean/proj_notation.lean.expected.out
2018-01-02 12:33:00 -08:00

27 lines
755 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

p.fst :
p.fst :
p.snd :
p.snd :
f (p.fst) :
p.fst + p.snd :
λ (c : car), (c.pos).x : car →
proj_notation.lean:29:19: error: invalid field notation, 'fst' is not a valid "field" because environment does not contain 'car.fst'
c
which has type
car
λ (c : car), ⁇ : car → ?M_1
proj_notation.lean:31:19: error: invalid projection, index must be greater than 0
λ (c : car), ⁇ : car → ?M_1
proj_notation.lean:33:19: error: invalid projection, structure has only 2 field(s)
c
which has type
car
λ (c : car), ⁇ : car → ?M_1
proj_notation.lean:35:19: error: invalid projection, structure expected
n
has type
λ (n : ), ⁇ : → ?M_1
p.fst :
p.snd :
λ (c : car), (c.pos).y : car →