lean4-htt/tests/lean/coe5.lean
Leonardo de Moura 8993d0738a feat(frontends/lean): remove #elab command
The check command is now using the new elaborator.
2016-08-02 15:05:24 -07:00

21 lines
300 B
Text

open tactic
definition expr_to_app [instance] : has_coe_to_fun expr :=
has_coe_to_fun.mk (expr → expr) (λ e, expr.app e)
constants f a b : expr
check f a
check f a b
check f a b a
set_option pp.coercions false
check f a b a
set_option pp.all true
set_option pp.coercions true
check f a b