package piaf

  1. Overview
  2. Docs
include module type of struct include Prettym end
type ppf = Prettym.ppf
type !'a t = ppf -> 'a -> ppf
type ('ty, 'v) order = ('ty, 'v) Prettym.order
val keval_order : (ppf -> 'v) -> ppf -> ('ty, 'v) order -> 'ty
val break : indent:int -> len:int -> ('v, 'v) order
val fws : ('v, 'v) order
val spaces : int -> ('v, 'v) order
val cut : ('v, 'v) order
val const : 'a t -> 'a -> ('v, 'v) order
val atom : 'a t -> ('a -> 'v, 'v) order
val a : ('a t -> 'a -> 'v, 'v) order
val (!!) : 'a t -> ('a -> 'v, 'v) order
val ($) : 'a t -> 'a -> ('v, 'v) order
val new_line : ('v, 'v) order
val tbox : int -> ('v, 'v) order
val bbox : ('v, 'v) order
val box : ('v, 'v) order
val close : ('v, 'v) order
val using : ('b -> 'a) -> 'a t -> 'b t
val string : string t
val bytes : Stdlib.Bytes.t t
val bigstring : Bigstringaf.t t
val breakable : string t
val char : char t
val list : sep:('x t * 'x) -> 'v t -> 'v list t
val option : 'a t -> 'a option t
type (!'ty, !'v) fmt = ('ty, 'v) Prettym.fmt =
  1. | [] : ('v0, 'v0) fmt
  2. | :: : ('x, 'v1) order * ('v1, 'r) fmt -> ('x, 'r) fmt
val concat : ('a, 'b) fmt -> ('b, 'c) fmt -> ('a, 'c) fmt
val keval : (ppf -> 'v) -> ppf -> ('ty, 'v) fmt -> 'ty
val eval : ppf -> ('ty, ppf) fmt -> 'ty
module Buffer = Prettym.Buffer
module IOVec = Prettym.IOVec
val io_buffer_size : int
val create : ?margin:int -> ?new_line:string -> emitter:(IOVec.t list -> int) -> int -> ppf
val is_empty : ppf -> bool
val flush : ppf -> ppf
val kflush : (ppf -> 'v) -> ppf -> 'v
val to_string : ?margin:int -> ?new_line:string -> 'a t -> 'a -> string
val to_stream : ?margin:int -> ?new_line:string -> 'a t -> 'a -> unit -> string option
val noop : ('a -> unit -> 'a) * unit
val field : Prettym.ppf -> Piaf_multipart_form__Field.field -> Prettym.ppf
val header : ppf -> Piaf_multipart_form__Field.field list -> ppf
OCaml

Innovation. Community. Security.