lean2/tests/lean/run/section2.lean

16 lines
203 B
Text
Raw Permalink Normal View History

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