lean2/tests/lean/run/export.lean
Leonardo de Moura 8743394627 refactor(kernel/inductive): replace recursor name, use '.rec' instead of '_rec'
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2014-09-04 15:04:57 -07:00

18 lines
206 B
Text

import data.nat
variables a b : nat
namespace boo
export nat (rec add)
check a + b
check nat.add
check boo.add
check add
end boo
check boo.rec
open boo
check a + b
check boo.rec
check nat.rec