package orsetto

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

The signature of modules representing disjoint intervals.

type limit

The type of interval limit.

val compare : limit t -> limit t -> int

Total order of disjoint intervals.

val lift : limit Seq.t -> limit t Seq.t

Use lift s to lift a sequence of values into a sequence of disjoint intervals.

val lift2 : ('a -> 'a -> bool) -> (limit * 'a) Seq.t -> (limit t * 'a) Seq.t

Use lift2 f s to lift a sequence of key/value pairs into a sequence of interval/value pairs. Applies f to test values for equivalence. The value of the first key in the interval is used for all keys in the interval.