package containers

  1. Overview
  2. Docs
A modular, clean and powerful extension of the OCaml standard library

Install

Dune Dependency

Authors

Maintainers

Sources

containers-3.13.1.tbz
sha256=eb9b26eb2c3cf04fc5157d256eb49c43552ccb5c59c568772d70315db9669784
sha512=7f4cf5112c8047fd789c04129745dbe9783aa94390e8983f86408053b0af637e2a9cfce1559ce466b1b6ff7c01fd52d8685f5db1d1c0dda2c0aa138f90606a50

doc/containers.bencode/Containers_bencode/index.html

Module Containers_bencodeSource

Basic Bencode decoder/encoder.

See https://en.wikipedia.org/wiki/Bencode .

  • since 3.8
Sourcemodule Str_map : sig ... end
Sourcetype t =
  1. | Int of int64
  2. | String of string
  3. | List of t list
  4. | Map of t Str_map.t
Sourceval equal : t -> t -> bool
Sourceval hash : t -> int
Sourceval pp_debug : Format.formatter -> t -> unit

Printer for diagnostic/human consumption

Sourceval to_string_debug : t -> string
Sourceval int : int -> t
Sourceval int64 : int64 -> t
Sourceval string : string -> t
Sourceval list : t list -> t
Sourceval map_of_list : (string * t) list -> t
Sourceval map : t Str_map.t -> t
Sourcemodule Encode : sig ... end

Encoding

Sourcemodule Decode : sig ... end

Decoding

OCaml

Innovation. Community. Security.