package containers

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type 'a t
exception Empty
val create : unit -> 'a t
val is_empty : 'a t -> bool
val length : 'a t -> int
val push_front : 'a t -> 'a -> unit
val push_back : 'a t -> 'a -> unit
val peek_front : 'a t -> 'a
val peek_back : 'a t -> 'a
val take_back : 'a t -> 'a
val take_front : 'a t -> 'a
val iter : ('a -> unit) -> 'a t -> unit
type !'a sequence = ('a -> unit) -> unit
val of_seq : ?deque:'a t -> 'a sequence -> 'a t
val to_seq : 'a t -> 'a sequence
val copy : 'a t -> 'a t
OCaml

Innovation. Community. Security.