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

feat: use the core signature delaborator #231

Merged
merged 1 commit into from
Nov 13, 2024
Merged

Conversation

kmill
Copy link
Contributor

@kmill kmill commented Nov 12, 2024

This PR makes use of the core signature delaborator to pretty print signatures. This fixes some bugs and brings the output in line with #check.

For example:

  • Now binders are grouped.
  • Now it uses the same heuristics as #check for what comes before and after the colon.
  • Now the bug reported in this Zulip thread is fixed, where daggers appeared in the incorrect positions.

This PR makes use of the core signature delaborator to pretty print signatures. This fixes some bugs and brings the output in line with `#check`.

For example:
- Now binders are grouped.
- Now it uses the same heuristics for what comes before and after the colon.
- Now it the bug [reported in this Zulip thread](https://leanprover.zulipchat.com/#narrow/channel/113488-general/topic/docgen.20strange.20daggers/near/481964331) is fixed, where daggers appeared in the incorrect positions.
@hargoniX hargoniX merged commit 3a296bb into main Nov 13, 2024
1 check passed
@kmill kmill deleted the kmill_use_sig_delab branch November 13, 2024 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants