Modality.Per_axis
For interfacing with the user only; potentially slow.
val is_id : 'a Axis.t -> 'a -> bool
Test if the given modality is the identity modality.
val is_constant : 'a Axis.t -> 'a -> bool
Test if the given modality is a constant modality.
val print : 'a Axis.t -> Ocaml_typing.Mode_intf.Fmt.formatter -> 'a -> unit