lean4-htt/tests/lean/elab4.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

23 lines
328 B
Text

definition foo.f {A : Type} {B : Type} (a : A) (b : B) : A := a
definition boo.f (a : nat) (b : nat) (c : nat) := a + b + c
definition bla.f (a b c d : bool) := a
open boo foo bla
set_option pp.full_names true
check f 0 1 2
check f 0 1 2 3
check f 0 1
check f tt 2
check f tt ff tt
check f tt ff
check @foo.f _ _ 0 1