2014-06-14 00:30:35 +00:00
|
|
|
variable N : Type.{1}
|
|
|
|
variable f : N → N
|
|
|
|
variable a : N
|
|
|
|
definition g (a : N) : N := f a
|
|
|
|
check g
|
|
|
|
namespace foo
|
|
|
|
definition h : N := f a
|
|
|
|
check h
|
2014-06-20 18:27:30 +00:00
|
|
|
definition q [private] : N := f a
|
2014-06-14 00:30:35 +00:00
|
|
|
check q
|
|
|
|
end
|
|
|
|
check foo.h
|
|
|
|
check q -- Error q is now hidden
|