lean2/tests/lean/run/t11.lean
Leonardo de Moura 5bd86754af feat(frontends/lean/builtin_cmds): change notation for marking implicit/cast parameter in sections
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-06-22 17:51:00 -07:00

14 lines
269 B
Text

parameter A : Type.{1}
parameters a b c : A
parameter f : A → A → A
check f a b
section
parameters A B : Type
parameters {C D : Type}
parameters [e d : A]
check A
check B
definition g (a : A) (b : B) (c : C) : A := e
end
check g.{2 1}
variables x y : A