package stdcompat

  1. Overview
  2. Docs
val ibprintf : Stdlib.Buffer.t -> ('a, Stdlib.Buffer.t, unit) Stdlib.format -> 'a
  • since 4.11.0:

val ibprintf : Buffer.t -> ('a, Buffer.t, unit) format -> 'a

val ikbprintf : (Stdlib.Buffer.t -> 'd) -> Stdlib.Buffer.t -> ('a, Stdlib.Buffer.t, unit, 'd) Stdlib.format4 -> 'a
  • since 4.11.0:

val ikbprintf : (Buffer.t -> 'd) -> Buffer.t -> ('a, Buffer.t, unit, 'd) format4 -> 'a

val ifprintf : 'b -> ('a, 'b, 'c, unit) Stdlib.format4 -> 'a
  • since 4.03.0: val ifprintf : 'b -> ('a, 'b, 'c, unit) format4 -> 'a
  • since 4.03.0: val ifprintf : 'b -> ('a, 'b, 'c, unit) format4 -> 'a
val ikfprintf : ('b -> 'd) -> 'b -> ('a, 'b, 'c, 'd) Stdlib.format4 -> 'a
  • since 4.03.0: val ikfprintf : ('b -> 'd) -> 'b -> ('a, 'b, 'c, 'd) format4 -> 'a
  • since 4.03.0:

val ikfprintf : ('b -> 'd) -> 'b -> ('a, 'b, 'c, 'd) format4 -> 'a

val kbprintf : (Stdlib.Buffer.t -> 'd) -> Stdlib.Buffer.t -> ('a, Stdlib.Buffer.t, unit, 'd) Stdlib.format4 -> 'a
  • since 4.03.0:

val kbprintf : (Buffer.t -> 'd) -> Buffer.t -> ('a, Buffer.t, unit, 'd) format4 -> 'a

  • since 3.10.0:

val kbprintf : (Buffer.t -> 'a) -> Buffer.t -> ('b, Buffer.t, unit, 'a) format4 -> 'b

val kfprintf : (Stdlib.out_channel -> 'd) -> Stdlib.out_channel -> ('a, Stdlib.out_channel, unit, 'd) Stdlib.format4 -> 'a
  • since 4.03.0:

val kfprintf : (out_channel -> 'd) -> out_channel -> ('a, out_channel, unit, 'd) format4 -> 'a

  • since 3.09.0:

val kfprintf : (out_channel -> 'a) -> out_channel -> ('b, out_channel, unit, 'a) format4 -> 'b

val ksprintf : (string -> 'd) -> ('a, unit, string, 'd) Stdlib.format4 -> 'a
  • since 4.03.0:

val ksprintf : (string -> 'd) -> ('a, unit, string, 'd) format4 -> 'a

  • since 3.09.0:

val ksprintf : (string -> 'a) -> ('b, unit, string, 'a) format4 -> 'b

val fprintf : Stdlib.out_channel -> ('a, Stdlib.out_channel, unit) Stdlib.format -> 'a

Alias for Printf.fprintf

val printf : ('a, Stdlib.out_channel, unit) Stdlib.format -> 'a

Alias for Printf.printf

val eprintf : ('a, Stdlib.out_channel, unit) Stdlib.format -> 'a

Alias for Printf.eprintf

val sprintf : ('a, unit, string) Stdlib.format -> 'a

Alias for Printf.sprintf

val bprintf : Stdlib.Buffer.t -> ('a, Stdlib.Buffer.t, unit) Stdlib.format -> 'a

Alias for Printf.bprintf

val kprintf : (string -> 'b) -> ('a, unit, string, 'b) Stdlib.format4 -> 'a
  • since 4.03.0:

val kprintf : (string -> 'b) -> ('a, unit, string, 'b) format4 -> 'a

  • since 3.07.0:

val kprintf : (string -> 'a) -> ('b, unit, string, 'a) format4 -> 'b

OCaml

Innovation. Community. Security.