package liquidsoap-lang

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

Module Queues.QueueSource

Sourcetype 'a t
Sourceval create : unit -> 'a t
Sourceval is_empty : 'a t -> bool
Sourceval push : 'a t -> 'a -> unit
Sourceval pop : 'a t -> 'a

Raises Not_found when no element can be found.

Sourceval pop_opt : 'a t -> 'a option
Sourceval peek : 'a t -> 'a
Sourceval peek_opt : 'a t -> 'a option
Sourceval flush_iter : 'a t -> ('a -> unit) -> unit
Sourceval flush_fold : 'a t -> ('a -> 'b -> 'b) -> 'b -> 'b
Sourceval flush_elements : 'a t -> 'a list
Sourceval elements : 'a t -> 'a list
Sourceval exists : 'a t -> ('a -> bool) -> bool
Sourceval iter : 'a t -> ('a -> unit) -> unit
Sourceval fold : 'a t -> ('a -> 'b -> 'b) -> 'b -> 'b
Sourceval length : 'a t -> int
Sourceval filter : 'a t -> ('a -> bool) -> unit