package qcow
An interval: a range (x, y) of set values where all the elements from x to y inclusive are in the set
module Interval : sig ... end
val make_empty : initial_size:int -> maximum_size:int -> t
make_empty n
creates a set of initial_size
which can be resized up to maximum size
, initially empty
val make_full : initial_size:int -> maximum_size:int -> t
make_full n
creates a set of initial_size
which can be resized up to maximum size
, initially full
fold f t acc
folds f
across all the intervals in t
fold_s f t acc
folds f
across all the intervals in t
min_elt t
returns the smallest element, or raises Not_found
if the set is empty.
val to_string : t -> string
module Test : sig ... end
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>