lean2/tests/lean/run/section2.lean

18 lines
258 B
Text
Raw Normal View History

2014-09-11 22:32:50 +00:00
import data.nat
section foo
parameter A : Type
definition id (a : A) := a
variable a : nat
check _root_.id nat a
end foo
namespace n1
section foo
parameter A : Type
definition id (a : A) := a
variable a : nat
check n1.id _ a
end foo
end n1