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.15.tbz
sha256=92143ceb4785ae5f8a07f3ab4ab9f6f32d31ead0536e9be4fdb818dd3c677e58
sha512=5fa80189d0e177af2302b48e72b70299d51fc36ac2019e1cbf389ff6a7f4705b10089405b5a719b3e4845b0d1349a47a967f865dc2e4e3f0d5a0167ef6c31431

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.