Module Modality.Const
A modality that acts on Value axes. Conceptually it is a record where individual fields can be set or proj.
val id : tThe identity modality.
val is_id : t -> boolTest if the given modality is the identity modality.
val apply :
?hint:
(('l * 'r) Allowance.neg Hint.morph, ('l * 'r) Allowance.pos Hint.morph)
monadic_comonadic ->
t ->
('l * 'r) Value.t ->
('l * 'r) Value.tApply a modality on mode.
val equate : t -> t -> (unit, equate_error) Result.tequate t0 t1 checks that t0 = t1. Definition: t0 = t1 iff t0 <= t1 and t1 <= t0.
val print : Mode_intf.Fmt.formatter -> t -> unitPrinting for debugging.