lean4-htt/src/Lean/PrettyPrinter
Kyle Miller 655ec964f5
feat: flatten parent projections when pretty printing structure instance notation (#3749)
Given
```lean
structure A where
  x : Nat

structure B extends A where
  y : Nat
```
rather than pretty printing `{ x := 1, y := 2 : B }` as `{ toA := { x :=
1 }, y := 2 }`, it now pretty prints as `{ x := 1, y := 2 }`.

The option `pp.structureInstances.flatten` controls whether to flatten
structure instances like this.
2024-03-23 09:20:52 +00:00
..
Delaborator feat: flatten parent projections when pretty printing structure instance notation (#3749) 2024-03-23 09:20:52 +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: custom error recovery in parser (#3413) 2024-02-21 14:29:54 +00:00
Parenthesizer.lean feat: custom error recovery in parser (#3413) 2024-02-21 14:29:54 +00:00