2014-10-02 16:20:52 -07:00
|
|
|
constant N : Type.{1}
|
|
|
|
constant f : N → N
|
|
|
|
constant a : N
|
2014-06-13 17:30:35 -07:00
|
|
|
definition g (a : N) : N := f a
|
|
|
|
check g
|
|
|
|
namespace foo
|
|
|
|
definition h : N := f a
|
|
|
|
check h
|
2014-09-19 14:30:02 -07:00
|
|
|
private definition q : N := f a
|
2014-06-13 17:30:35 -07:00
|
|
|
check q
|
2014-08-07 16:59:08 -07:00
|
|
|
end foo
|
2014-06-13 17:30:35 -07:00
|
|
|
check foo.h
|
|
|
|
check q -- Error q is now hidden
|