lean2/tests/lean/run/imp.lean
Leonardo de Moura 47ff300d1a fix(frontends/lean): '@' explicit mark
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-06-28 07:30:36 -07:00

28 lines
570 B
Text

variable N : Type.{1}
variables a b c : N
variable f : forall {a b : N}, N → N
check f
check @f
check @f a
check @f a b
check @f a b c
definition l1 : N → N → N → N := @f
definition l2 : N → N → N := @f a
definition l3 : N → N := @f a b
definition l4 : N := @f a b c
variable g : forall ⦃a b : N⦄, N → N
check g
check @g
check @g a
check @g a b
check @g a b c
definition l5 : N → N → N → N := @g
definition l6 : N → N → N := @g a
definition l7 : N → N := @g a b
definition l8 : N := @g a b c
definition l9 : N → N → N → N := g