Zulip Chat Archive
Stream: lean4
Topic: Try This suggestion styling
Thomas Murrills (Aug 27 2025 at 02:23):
Is Try This suggestion styling intended to be gone for good, or was it just not re-implemented in lean4#9966?
The reasoning given for deprecating it in the PR is that the hint infrastructure uses diff colors, but try this suggestions typically (still) do not use a diff. Styling was used in hint to communicate successful tactics.
@Marc Huisinga, is there any chance suggestion styling will eventually come back? (Currently, we're wondering whether to leave an adaptation note for hint in #nightly-testing > Mathlib status updates .)
Marc Huisinga (Aug 27 2025 at 08:00):
I'd prefer hints to be styled consistently (color-wise), but I'm happy to re-consider if use-cases other than hint end up popping up in practice.
but try this suggestions typically (still) do not use a diff
They now use blue to signal an insertion.
Thomas Murrills (Aug 27 2025 at 08:30):
I can appreciate that! I’ll mention two cases (ish) which come to mind:
This recent project is hint-like, and uses styling for a similar reason—but uses their own tweaked try this widget, and so is only really an example of how more hint-like tactics might come to exist.
One use case I had been meaning to get around to implementing was styling exact? suggestions which use deprecated constants with the deprecation styling.
They now use blue
For me, they’ve always been blue…I think they’ve always been styled as links to signal clickability, no?
Last updated: Dec 20 2025 at 21:32 UTC