Zulip Chat Archive

Stream: metaprogramming / tactics

Topic: get all lemmas in namespace


Johan Commelin (Oct 28 2020 at 07:50):

How do I print all lemmas in a given namespace?

Kevin Buzzard (Oct 28 2020 at 07:54):

Does #print prefix <namespace> do it?

Johan Commelin (Oct 28 2020 at 08:01):

Hmm, I guess I shouldn't have said #print

Johan Commelin (Oct 28 2020 at 08:01):

I want to get them in a list name

Gabriel Ebner (Oct 28 2020 at 08:22):

I would use docs#environment.get_decls and docs#name.is_prefix_of

Johan Commelin (Oct 28 2020 at 08:44):

thx


Last updated: Dec 20 2023 at 11:08 UTC