2014-08-19 01:46:37 +00:00
|
|
|
variable nat : Type.{1}
|
|
|
|
variable f : nat → nat
|
|
|
|
|
|
|
|
namespace foo
|
|
|
|
variable int : Type.{1}
|
|
|
|
variable f : int → int
|
|
|
|
variable a : nat
|
|
|
|
variable i : int
|
|
|
|
check _root_.f a
|
|
|
|
check f i
|
|
|
|
end foo
|
|
|
|
|
2014-09-03 23:00:38 +00:00
|
|
|
open foo
|
2014-08-19 01:46:37 +00:00
|
|
|
variables a : nat
|
|
|
|
variables i : int
|
|
|
|
check f a
|
|
|
|
check f i
|