2014-07-07 12:59:57 -07:00
|
|
|
import logic
|
|
|
|
|
|
|
|
namespace N1
|
2014-10-02 16:20:52 -07:00
|
|
|
constant num : Type.{1}
|
|
|
|
constant foo : num → num → num
|
2014-08-07 16:59:08 -07:00
|
|
|
end N1
|
2014-07-07 12:59:57 -07:00
|
|
|
|
|
|
|
namespace N2
|
2014-10-02 16:20:52 -07:00
|
|
|
constant val : Type.{1}
|
|
|
|
constant foo : val → val → val
|
2014-08-07 16:59:08 -07:00
|
|
|
end N2
|
2014-07-07 12:59:57 -07:00
|
|
|
|
2014-09-03 16:00:38 -07:00
|
|
|
open N2
|
|
|
|
open N1
|
2014-10-02 16:20:52 -07:00
|
|
|
constants a b : num
|
2014-07-07 12:59:57 -07:00
|
|
|
print raw foo a b
|
2014-09-03 16:00:38 -07:00
|
|
|
open N2
|
2014-07-07 12:59:57 -07:00
|
|
|
print raw foo a b
|
2014-09-03 16:00:38 -07:00
|
|
|
open N1
|
2014-07-07 12:59:57 -07:00
|
|
|
print raw foo a b
|
2014-09-03 16:00:38 -07:00
|
|
|
open N1
|
2014-07-07 12:59:57 -07:00
|
|
|
print raw foo a b
|
2014-09-03 16:00:38 -07:00
|
|
|
open N2
|
2014-07-07 12:59:57 -07:00
|
|
|
print raw foo a b
|