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