package orsetto

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

Use Create(B) to make a module representing a disjoint interval.

Parameters

Signature

val compare : B.t t -> B.t t -> int

Total order of disjoint intervals.

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

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

val lift2 : ('a -> 'a -> bool) -> (B.t * 'a) Seq.t -> (B.t 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.

OCaml

Innovation. Community. Security.