lean4-htt/old_tests/tests/lean/alias.lean
2018-04-10 12:56:55 -07:00

24 lines
338 B
Text

--
namespace N1
constant num : Type.{1}
constant foo : num → num → num
end N1
namespace N2
constant val : Type.{1}
constant foo : val → val → val
end N2
open N2
open N1
constants a b : N1.num
#print raw foo a b
open N2
#print raw foo a b
open N1
#print raw foo a b
open N1
#print raw foo a b
open N2
#print raw foo a b