Zulip Chat Archive
Stream: new members
Topic: How to close a namespace after it is opened?
Ziyuan (Oct 15 2024 at 23:56):
I cannot find it in the documentation. I understand we can do
open List
#check nil
#check cons
#check map
But how to "close" the namespace List
?
Kevin Buzzard (Oct 15 2024 at 23:58):
You can open List
inside a section ListyStuff
and then after end ListyStuff
it will be closed again.
Kevin Buzzard (Oct 15 2024 at 23:59):
But how to "close" a namespace?
Also namespace Foo
then open List
then end Foo
. I don't like that end
is used to close both sections and namespaces, but that's another discussion.
Ziyuan (Oct 16 2024 at 00:01):
Kevin Buzzard
Sorry I was editing my post. So how about a top-level open
that is not inside a namespace?
Kevin Buzzard (Oct 16 2024 at 00:01):
This can't be closed as far as I know.
Ziyuan (Oct 16 2024 at 00:02):
Kevin Buzzard said:
This can't be closed as far as I know.
OK! Good to know.
Kevin Buzzard (Oct 16 2024 at 00:02):
Why would you want to close it? There might be other solutions.
Ziyuan (Oct 16 2024 at 00:04):
Kevin Buzzard said:
Why would you want to close it? There might be other solutions.
I am just curious as a new learner.
Last updated: May 02 2025 at 03:31 UTC