package sel

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

Set of events being waited for

type 'a t

The set of events we can wait for

val empty : 'a t

the empty todo set

val is_empty : 'a t -> bool

check if the todo set is empty

val only_recurring_events : 'a t -> bool

in presence of recurring events the todo set is never empty

val pp : (Stdlib.Format.formatter -> 'a -> unit) -> Stdlib.Format.formatter -> 'a t -> unit

pretty printer

val size : 'a t -> int

debugging

val add : 'a t -> 'a Event.t list -> 'a t

adds a list of events, the order (among events with the same priority) is preserved

OCaml

Innovation. Community. Security.