lean2/tests/lean/choice_expl.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

14 lines
216 B
Text

namespace N1
definition pr {A : Type} (a b : A) := a
end N1
namespace N2
definition pr {A : Type} (a b : A) := b
end N2
open N1 N2
variable N : Type.{1}
variables a b : N
check @pr
check @pr N a b
check pr a b