lean2/tests/lean/run/export.lean
2014-10-02 17:55:34 -07:00

18 lines
206 B
Text

import data.nat
constants 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