When projection functions are delaborated, intermediate parent projections are no longer printed. For example, rather than pretty printing as `o.toB.toA.x` with these `toB` and `toA` parent projections, it pretty prints as `o.x`. This feature is being upstreamed from mathlib.
4 lines
180 B
Text
4 lines
180 B
Text
{ toA_1 := { toA := { x := 0 }, y := 1 }, z := 2 } : B
|
|
{ toC := { x := 0, y := 1 }, z := 2 } : D
|
|
@[reducible] def D.toC_1 : D → Boo.C :=
|
|
fun self => { x := self.x, z := self.z }
|