lean4-htt/tests/lean/proj_notation.lean.expected.out
2017-02-06 15:15:47 +01:00

30 lines
837 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 :
p^.fst :
p^.fst :
p^.snd :
p^.snd :
f (p^.fst) :
p^.fst + p^.snd :
λ (c : car), (c^.pos)^.x : car →
proj_notation.lean:34:18: error: invalid '~>' notation, 'fst' is not a valid "field" because environment does not contain 'car.fst'
c
which has type
car
λ (c : car), sorry : Π (c : car), delayed[?M_1]
proj_notation.lean:36:19: error: invalid projection, index must be greater than 0
proj_notation.lean:38:18: error: invalid projection, structure has only 2 field(s)
c
which has type
car
λ (c : car), sorry : Π (c : car), delayed[?M_1]
proj_notation.lean:40:18: error: invalid projection, structure expected
n
has type
λ (n : ), sorry : Π (n : ), delayed[?M_1]
p^.fst :
p^.snd :
λ (c : car), (c^.pos)^.y : car →