lean2/tests/lean/run/root.lean
Leonardo de Moura e51c4ad2e9 feat(frontends/lean): rename 'using' command to 'open'
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-09-03 16:00:38 -07:00

17 lines
248 B
Text

import logic
open num
variable foo : Prop
namespace N1
variable foo : Prop
check N1.foo
check _root_.foo
namespace N2
variable foo : Prop
check N1.foo
check N1.N2.foo
print raw foo
print raw _root_.foo
end N2
end N1