Zulip Chat Archive

Stream: general

Topic: namespace inside section


Reid Barton (May 22 2020 at 12:23):

Is there a compelling reason to not be able to put a namespace inside a section?

Reid Barton (May 22 2020 at 12:24):

Maybe changing in this in Lean 3 would be too much.

Kenny Lau (Jul 03 2020 at 19:22):

namespace test1
section test2
namespace test3
section test4
end test4
end test3
end test2
end test1

Kenny Lau (Jul 03 2020 at 19:22):

does anyone remember the time when we weren't allowed to put a namespace inside a section? what happened?

Kevin Buzzard (Jul 03 2020 at 19:23):

Ooh! I was going to bring this up the other day! You've spared my blushes :-)

Bryan Gin-ge Chen (Jul 03 2020 at 19:23):

lean#317 happened

Bryan Gin-ge Chen (Jul 03 2020 at 19:24):

(Thanks @Gabriel Ebner !)

Scott Morrison (Jul 04 2020 at 04:18):

I wish I could remember all the times I've previously had to work around this, so I could go back and fix them!

Scott Morrison (Jul 04 2020 at 04:20):

Actually maybe just looking for

end X

begin X

(done to clear variables) would find many of them.


Last updated: Dec 20 2023 at 11:08 UTC