Restricting displayed data along free-program cursors #
A displayed algebra can be restricted to a cursor residual when each node value
exposes the displayed value at a selected child. This capability is explicit:
an arbitrary Displayed.Algebra need not permit such a projection.
The generic restriction algorithm follows Cursor.Spine once. Node
decorations and dependent over-decorations supply their canonical child
projections as thin specializations.
Capability for selecting one recursive child from a displayed node value.
Project the displayed value stored at child
b.
Instances For
Dependent child projection for a displayed-over algebra.
- project (a : P.A) (children : P.B a → Sort w) (overChildren : (b : P.B a) → children b → Sort w₂) (d : D.node a children) : R.node a children overChildren d → (b : P.B a) → overChildren b (base.project a children d b)
Project the over-value lying above the selected base child.
Instances For
Restrict displayed data along an indexed cursor spine.
Equations
- One or more equations did not get rendered due to their size.
- PFunctor.FreeM.Displayed.restrictSpine projection (PFunctor.FreeM.Cursor.Spine.root x✝¹) x✝ = x✝
Instances For
Restrict displayed data to the residual selected by a cursor.
Equations
- PFunctor.FreeM.Displayed.restrict projection cursor d = PFunctor.FreeM.Displayed.restrictSpine projection cursor.spine d
Instances For
Restrict displayed-over data along an indexed cursor spine.
Equations
- One or more equations did not get rendered due to their size.
- PFunctor.FreeM.Displayed.Over.restrictSpine base projection (PFunctor.FreeM.Cursor.Spine.root x✝²) x✝¹ x✝ = x✝
Instances For
Restrict displayed-over data to the residual selected by a cursor.
Equations
- PFunctor.FreeM.Displayed.Over.restrict base projection cursor d r = PFunctor.FreeM.Displayed.Over.restrictSpine base projection cursor.spine d r
Instances For
Node decorations expose the decoration stored at every child.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Restrict a node decoration to a cursor residual.
Equations
Instances For
Dependent node decorations expose the over-decoration at every child.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Restrict a dependent decoration to a cursor residual.
Equations
- One or more equations did not get rendered due to their size.