2014-09-11 15:32:50 -07:00
|
|
|
import data.nat
|
|
|
|
|
|
|
|
section foo
|
2014-10-09 07:13:06 -07:00
|
|
|
variable A : Type
|
2014-09-11 15:32:50 -07:00
|
|
|
definition id (a : A) := a
|
2014-10-09 07:13:06 -07:00
|
|
|
variable a : nat
|
2014-09-11 15:32:50 -07:00
|
|
|
check _root_.id nat a
|
|
|
|
end foo
|
|
|
|
|
|
|
|
namespace n1
|
|
|
|
section foo
|
2014-10-09 07:13:06 -07:00
|
|
|
variable A : Type
|
2014-09-11 15:32:50 -07:00
|
|
|
definition id (a : A) := a
|
2014-10-09 07:13:06 -07:00
|
|
|
variable a : nat
|
2014-09-11 15:32:50 -07:00
|
|
|
check n1.id _ a
|
|
|
|
end foo
|
|
|
|
end n1
|