Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There is no command to print currently available modules. #19035

Open
Villetaneuse opened this issue May 16, 2024 · 0 comments
Open

There is no command to print currently available modules. #19035

Villetaneuse opened this issue May 16, 2024 · 0 comments
Labels
kind: wish Feature or enhancement requests. part: modules The module system of Coq. part: vernac High level command interpretation.

Comments

@Villetaneuse
Copy link
Contributor

Is your feature request related to a problem?

There are commands to list required files (Print Libraries.), available constants (Search), but as far as I know, there is none to print currently available modules (which should probably include the libraries).

Proposed solution

I propose, as an easy and (hopefully) not so controversial solution, to add:

  • Print Modules (which should also probably display functors)
  • Print Module Types (which should also probably display functor types)

Alternative solutions

Another possible solution would be to have something more elaborate like Search, e.g.

SearchModule "Nat". (* display all module whose name contains `Nat` *)

or, maybe

Search kind:module "Nat".
Search kind:module_type "Nat".

Additional context

No response

@Villetaneuse Villetaneuse added needs: triage The validity of this issue needs to be checked, or the issue itself updated. kind: wish Feature or enhancement requests. part: modules The module system of Coq. part: vernac High level command interpretation. and removed needs: triage The validity of this issue needs to be checked, or the issue itself updated. labels May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: wish Feature or enhancement requests. part: modules The module system of Coq. part: vernac High level command interpretation.
Projects
None yet
Development

No branches or pull requests

1 participant