Focus marking #
Binary focus marking (Mark): the marking feature of the focus axis,
one of [Kri08]'s four information-structure notions. Use Mark
when only the binary focused-vs-not distinction is needed;
Alternatives.AltMeaning carries the Roothian alternative-set
structure.
@[instance_reducible]
Equations
- Focus.instDecidableEqMark x✝ y✝ = if h : x✝.ctorIdx = y✝.ctorIdx then isTrue ⋯ else isFalse ⋯
Equations
- Focus.instReprMark.repr Focus.Mark.focused prec✝ = Repr.addAppParen (Std.Format.nest (if prec✝ ≥ 1024 then 1 else 2) (Std.Format.text "Focus.Mark.focused")).group prec✝
- Focus.instReprMark.repr Focus.Mark.nonFocused prec✝ = Repr.addAppParen (Std.Format.nest (if prec✝ ≥ 1024 then 1 else 2) (Std.Format.text "Focus.Mark.nonFocused")).group prec✝
Instances For
@[instance_reducible]
Equations
- Focus.instReprMark = { reprPrec := Focus.instReprMark.repr }