lean4-htt/src/Lean/PrettyPrinter
Kyle Miller 1f6abcaf6c
feat: make all app unexpanders respond to pp.tagAppFns (#6730)
This PR changes how app unexpanders are invoked. Before the ref was
`.missing`, but now the ref is the head constant's delaborated syntax.
This way, when `pp.tagAppFns` is true, then tokens in app unexpanders
are annotated with the head constant. The consequence is that in docgen,
tokens will be linkified. This new behavior is consistent with how
`notation` defines app unexpanders.

In a followup PR we can slightly simplify the `notation` unexpander
macro to not set the ref.
2025-02-02 23:29:12 +00:00
..
Delaborator feat: make all app unexpanders respond to pp.tagAppFns (#6730) 2025-02-02 23:29:12 +00:00
Basic.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
Delaborator.lean perf: add prelude to all Lean modules 2024-02-18 14:55:17 -08:00
Formatter.lean feat: modify delaborator to tag generalized field notation (#6703) 2025-02-02 21:34:49 +00:00
Parenthesizer.lean feat: Nat.(fold|foldRev|any|all)M? take a function which sees the upper bound (#6139) 2024-11-22 03:05:51 +00:00