package bare_encoding

  1. Overview
  2. Docs

Module Bare_encoding.PpSource

Pretty printer utils, using Format.

Sourcetype 'a t = Format.formatter -> 'a -> unit

A pretty printer for values of type 'a

Sourcetype 'a iter = ('a -> unit) -> unit
Sourceval unit : unit t
Sourceval int : int t
Sourceval int8 : char t
Sourceval int32 : int32 t
Sourceval int64 : int64 t
Sourceval float : float t
Sourceval bool : bool t
Sourceval string : string t
Sourceval data : bytes t
Sourceval option : 'a t -> 'a option t
Sourceval array : 'a t -> 'a array t
Sourceval iter : 'a t -> 'a iter t
Sourceval list : 'a t -> 'a list t