lean2/tests/lean/explicit.lean
Leonardo de Moura 08718e33dc refactor(builtin): only load the kernel and natural numbers by default
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-12-30 13:35:37 -08:00

9 lines
No EOL
242 B
Text

Import int.
Variable f {A : Type} : A -> A -> A
Variable module::g {A : Type} : A -> A -> A
Check @f
Check module::@g
Variable h::1 {A B : Type} : A -> B -> A
Check h::1::explicit
Variable @h : Int -> Int
Variable h {A B : Type} : A -> B -> A