lean2/tests/lean/run/section2.lean
2014-10-09 07:13:06 -07:00

17 lines
256 B
Text

import data.nat
section foo
variable A : Type
definition id (a : A) := a
variable a : nat
check _root_.id nat a
end foo
namespace n1
section foo
variable A : Type
definition id (a : A) := a
variable a : nat
check n1.id _ a
end foo
end n1