lean2/tests/lean/alias.lean
Leonardo de Moura 6ceecf6a15 feat(library/aliases): remove duplicates from aliasing tables
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-07-07 12:59:57 -07:00

25 lines
341 B
Text

import logic
namespace N1
variable num : Type.{1}
variable foo : num → num → num
end
namespace N2
variable val : Type.{1}
variable foo : val → val → val
end
using N2
using N1
variables a b : num
print raw foo a b
using N2
print raw foo a b
using N1
print raw foo a b
using N1
print raw foo a b
using N2
print raw foo a b