Zulip Chat Archive

Stream: general

Topic: print instances normal_space


Floris van Doorn (Nov 19 2021 at 11:06):

I think something is messed up in my Lean installation. Does this code snippet work for anyone else?

import topology.separation

#print instances normal_space

Floris van Doorn (Nov 19 2021 at 11:17):

(I get no output, neither in VSCode, nor on the command line)

Floris van Doorn (Nov 19 2021 at 11:18):

Oh nvm, nothing to see here. There are just no instances at that point yet.

Floris van Doorn (Nov 19 2021 at 13:10):

Ok, but there is still something weird going on.

In the following file, I cannot see the output of #print eq in VSCode (I can see it when running from the command line).

import topology.separation
#print instances normal_space
#print eq

Furthermore, if you type

import topology.separation
#print normal_space

and then modify the second line into #print instances normal_space, the messages window doesn't update: it still shows the previous state.

Kevin Buzzard (Nov 19 2021 at 14:20):

(I can reproduce)


Last updated: Dec 20 2023 at 11:08 UTC