lean4-htt/tests/lean/macroStack.lean.expected.out
Leonardo de Moura eba3983658 feat: use binrel! gadget to define >, <, ... notations
It has better support for applying coercions.
2020-12-29 16:53:10 -08:00

23 lines
656 B
Text

macroStack.lean:4:5: error: unknown identifier 'x'
macroStack.lean:8:6: error: unknown identifier 'x'
with resulting expansion
binrel! Greater✝x 0
while expanding
x > 0
while expanding
if h : (x > 0) then 1 else 0
macroStack.lean:11:9: error: invalid use of `(<- ...)`, must be nested inside a 'do' expression
macroStack.lean:17:0: error: failed to synthesize instance
HAdd Nat String ?m
with resulting expansion
HAdd.hAdd✝ (x + x✝) x✝¹
while expanding
(x + x✝) + x✝¹
while expanding
foo!(x + x✝)
while expanding
foo!(x + x✝) < 1
while expanding
if foo!(x + x✝) < 1 then true✝ else false✝
while expanding
bla! x