jon.recoil.org

Module Alloc.AxisSource

Sourcetype 'a t =
  1. | Comonadic : 'a Comonadic.Axis.t -> 'a t
  2. | Monadic : 'a Monadic.Axis.t -> 'a t

Represents a mode axis in this product whose constant is 'a, and whose allowance is 'd1 given the product's allowance 'd0.

include Mode_intf.Axis with type 'a t := 'a t
Sourceval compare : 'a t -> 'b t -> int

Compare two axes in implication order. If A implies B, then A is before B.

Sourcetype packed =
  1. | P : 'a t -> packed
Sourceval all : packed list

List of all axes, ordered by compare.