package partition_map

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

Sets of Intervals.

This interface is purposefully undocumented as it is not meant to be used without understanding the implementation.

type t = Interval.t list
val to_string : t -> string
val empty : t
val is_empty : t -> bool
val size : t -> int
val length : t -> int
val inside : int -> t -> bool
val intersection_and_differences : t -> t -> t * t * t
val iter : t -> f:(int -> unit) -> unit