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

More Info customization #18889

Open
JasonGross opened this issue Apr 3, 2024 · 1 comment
Open

More Info customization #18889

JasonGross opened this issue Apr 3, 2024 · 1 comment
Labels
kind: user messages Improvement of error messages, new warnings, etc. kind: wish Feature or enhancement requests. part: ltac Issues and PRs related to the Ltac tactic language. part: printer The printing mechanism of Coq. part: tactics

Comments

@JasonGross
Copy link
Member

JasonGross commented Apr 3, 2024

Is your feature request related to a problem?

Currently Info is parameterized by "levels of unfolding", which doesn't work well if tactic depth does not match abstraction level.

Proposed solution

I propose that Info could also take whitelists or blacklists of tactics to unfold in the display.

Alternative solutions

More fine-grained control is also possible, for example by allowing a tree of nested whitelist/blacklists, e.g., "in this tactic unfold intuition, but in this other tactic don't"

Additional context

Zulip

@JasonGross JasonGross added kind: user messages Improvement of error messages, new warnings, etc. part: tactics part: ltac Issues and PRs related to the Ltac tactic language. part: printer The printing mechanism of Coq. kind: wish Feature or enhancement requests. labels Apr 3, 2024
@ejgallego
Copy link
Member

That's a good idea, tho for most users I have for traces these days (UI and ML folks), indeed they'd be served better by the full structure and some client-side filtering, but YMMV . I cc @afwd as she's been working on Info so she's aware of the Zulip discussion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: user messages Improvement of error messages, new warnings, etc. kind: wish Feature or enhancement requests. part: ltac Issues and PRs related to the Ltac tactic language. part: printer The printing mechanism of Coq. part: tactics
Projects
None yet
Development

No branches or pull requests

2 participants