lean4-htt/tests/lean/t5.lean
2017-03-09 18:41:19 -08:00

13 lines
292 B
Text

constant N : Type.{1}
constant f : N → N
constant a : N
noncomputable definition g (a : N) : N := f a
#check g
namespace foo
noncomputable definition h : N := f a
#check h
private noncomputable definition q : N := f a
#check q
end foo
#check foo.h
#check q -- Error q is now hidden