package containers

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type !'a t =
  1. | Nil
  2. | Cons of unit -> 'a t * 'a * unit -> 'a t
val nil : 'a t
val insert_before : 'a -> 'a t -> 'a t
val insert_after : 'a -> 'a t -> 'a t
val left : 'a t -> 'a t
val right : 'a t -> 'a t
val graft_before : inner:'a t -> 'a t -> 'a t
val graft_after : inner:'a t -> 'a t -> 'a t
val rev : 'a t -> 'a t
val fold : ('a -> 'b -> 'a) -> 'a -> 'b t -> 'a
val to_rev_list : 'a t -> 'a list
val to_list : 'a t -> 'a list
val of_list : 'a list -> 'a t
val of_lists : 'a list -> 'a -> 'a list -> 'a t
val left_n : int -> 'a t -> 'a list * 'a t
val right_n : int -> 'a t -> 'a list * 'a t
OCaml

Innovation. Community. Security.