Module Interval_unix

module type S_time = sig ... end

S_time is a signature that's used below to define the interfaces for Time and Time_ns without duplication.

Specialized time interval types

module Stable : sig ... end

Stable is used to build stable protocols. It ensures backwards compatibility by checking the sexp and bin-io representations of a given module. Here it's applied to the Time, and Time_ns intervals.