package polly

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

a set of events

val empty : t

empty set

val inp : t

called "in" in Linux; "in" is an OCaml keyword

val pri : t
val out : t
val rdnorm : t
val rdband : t
val wrnorm : t
val wrband : t
val msg : t
val err : t
val hup : t
val rdhup : t
val wakeup : t
val oneshot : t
val et : t
val (lor) : t -> t -> t

join sets

val (land) : t -> t -> t

intersect sets

val lnot : t -> t

set complement

val test : t -> t -> bool

test x y returns true, if and only if the intersection of the * two sets is not empty. The common case is test set x where set * is unknown and x is a singleton to check that x is contained in * set.

val to_string : t -> string

to_string t return a string representation of t for debugging