package containers

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type !'a sequence = ('a -> unit) -> unit
type !'a gen = unit -> 'a option
type !'a klist = unit -> [ `Cons of 'a * 'a klist | `Nil ]
type !'a printer = Buffer.t -> 'a -> unit
type !'a t = unit -> [ `Nil | `Node of 'a * 'a t list ]
val empty : 'a t
val is_empty : 'a t -> bool
val singleton : 'a -> 'a t
val node : 'a -> 'a t list -> 'a t
val node1 : 'a -> 'a t -> 'a t
val node2 : 'a -> 'a t -> 'a t -> 'a t
val fold : ('a -> 'b -> 'a) -> 'a -> 'b t -> 'a
val iter : ('a -> unit) -> 'a t -> unit
val size : 'a t -> int
val height : 'a t -> int
val map : ('a -> 'b) -> 'a t -> 'b t
val (>|=) : 'a t -> ('a -> 'b) -> 'b t
val cut_depth : int -> 'a t -> 'a t
class type !'a pset = object ... end
val set_of_cmp : ?cmp:('a -> 'a -> int) -> unit -> 'a pset
val dfs : ?pset:'a pset -> 'a t -> [ `Enter of 'a | `Exit of 'a ] klist
val bfs : ?pset:'a pset -> 'a t -> 'a klist
val find : ?pset:'a pset -> ('a -> 'b option) -> 'a t -> 'b option
module Dot : sig ... end
OCaml

Innovation. Community. Security.