Module type Period.S


module type S = sig .. end
Common interface for all periods.

type t 
Type of a period.

Period is an additive monoid


val empty : t
The empty period.
val add : t -> t -> t
Addition of periods.
val sub : t -> t -> t
Substraction of periods.
val opp : t -> t
Opposite of a period.

Periods are comparable


val equal : t -> t -> bool
Equality function between two periods.
Since 1.09.0
See also Utils.Comparable.equal
val compare : t -> t -> int
Comparison function between two periods.
See also Utils.Comparable.compare
val hash : t -> int
Hash function for periods.
Since 2.0
See also Utils.Comparable.hash