package containers

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module SMap : sig ... end
type t =
  1. | I of int
  2. | S of string
  3. | L of t list
  4. | D of t SMap.t
val eq : t -> t -> bool
val hash : t -> int
val dict_of_list : (string * t) list -> t
val size : t -> int
val write_in_string : t -> string -> int -> unit
val to_buf : Buffer.t -> t -> unit
val to_string : t -> string
val to_chan : Pervasives.out_channel -> t -> unit
val fmt : Format.formatter -> t -> unit
val pretty : Format.formatter -> t -> unit
val pretty_to_str : t -> string
type decoder
val mk_decoder : unit -> decoder
type parse_result =
  1. | ParseOk of t
  2. | ParseError of string
  3. | ParsePartial
val parse : decoder -> string -> int -> int -> parse_result
val parse_resume : decoder -> parse_result
val reset : decoder -> unit
val state : decoder -> parse_result
val rest : decoder -> string
val rest_size : decoder -> int
val parse_string : string -> parse_result
val of_string : string -> t
type !'a sequence = ('a -> unit) -> unit
val of_seq : string sequence -> t sequence
val to_seq : t sequence -> string sequence
OCaml

Innovation. Community. Security.