CamlinternalFormat(3) OCaml library CamlinternalFormat(3)

# [NAME](#NAME)

CamlinternalFormat - no description

# [Module](#Module)

Module CamlinternalFormat

# [Documentation](#Documentation)

Module **CamlinternalFormat**  
: **sig end**

*val is\_in\_char\_set* : **CamlinternalFormatBasics.char\_set -&gt; char -&gt; bool**

*val rev\_char\_set* : **CamlinternalFormatBasics.char\_set -&gt; CamlinternalFormatBasics.char\_set**

*type mutable\_char\_set* = **bytes**

*val create\_char\_set* : **unit -&gt; mutable\_char\_set**

*val add\_in\_char\_set* : **mutable\_char\_set -&gt; char -&gt; unit**

*val freeze\_char\_set* : **mutable\_char\_set -&gt; CamlinternalFormatBasics.char\_set**

*type* **('a, 'b, 'c, 'd, 'e, 'f)** *param\_format\_ebb* =  
| Param\_format\_EBB **:** **('x -&gt; 'a0, 'b0, 'c0, 'd0, 'e0, 'f0) CamlinternalFormatBasics.fmt** **-&gt;** **('a0, 'b0, 'c0, 'd0, 'e0, 'f0) param\_format\_ebb**

*val param\_format\_of\_ignored\_format* : **('a, 'b, 'c, 'd, 'y, 'x) CamlinternalFormatBasics.ignored -&gt;** **('x, 'b, 'c, 'y, 'e, 'f) CamlinternalFormatBasics.fmt -&gt;** **('a, 'b, 'c, 'd, 'e, 'f) param\_format\_ebb**

*type* **('b, 'c)** *acc\_formatting\_gen* =  
| Acc\_open\_tag **of** **('b, 'c) acc**  
| Acc\_open\_box **of** **('b, 'c) acc**

*type* **('b, 'c)** *acc* =  
| Acc\_formatting\_lit **of** **('b, 'c) acc * CamlinternalFormatBasics.formatting\_lit**  
| Acc\_formatting\_gen **of** **('b, 'c) acc** *** ('b, 'c) acc\_formatting\_gen**  
| Acc\_string\_literal **of** **('b, 'c) acc * string**  
| Acc\_char\_literal **of** **('b, 'c) acc * char**  
| Acc\_data\_string **of** **('b, 'c) acc * string**  
| Acc\_data\_char **of** **('b, 'c) acc * char**  
| Acc\_delay **of** **('b, 'c) acc * ('b -&gt; 'c)**  
| Acc\_flush **of** **('b, 'c) acc**  
| Acc\_invalid\_arg **of** **('b, 'c) acc * string**  
| End\_of\_acc

*type* **('a, 'b)** *heter\_list* =  
| Cons **:** **'c * ('a0, 'b0) heter\_list** **-&gt;** **('c -&gt; 'a0, 'b0) heter\_list**  
| Nil **:** **('b1, 'b1) heter\_list**

*type* **('b, 'c, 'e, 'f)** *fmt\_ebb* =  
| Fmt\_EBB **:** **('a, 'b0, 'c0, 'd, 'e0, 'f0) CamlinternalFormatBasics.fmt** **-&gt;** **('b0, 'c0, 'e0, 'f0) fmt\_ebb**

*val make\_printf* : **(('b, 'c) acc -&gt; 'd) -&gt;** **('b, 'c) acc -&gt;** **('a, 'b, 'c, 'c, 'c, 'd) CamlinternalFormatBasics.fmt -&gt; 'a**

*val make\_iprintf* : **('s -&gt; 'f) -&gt;** **'s -&gt; ('a, 'b, 'c, 'd, 'e, 'f) CamlinternalFormatBasics.fmt -&gt; 'a**

*val output\_acc* : **out\_channel -&gt;** **(out\_channel, unit) acc -&gt; unit**

*val bufput\_acc* : **Buffer.t -&gt; (Buffer.t, unit) acc -&gt; unit**

*val strput\_acc* : **Buffer.t -&gt; (unit, string) acc -&gt; unit**

*module Args :* **sig end**

*val make\_lprintf* : **(('b, 'c) acc -&gt; 'f) -&gt;** **('b, 'c) acc -&gt;** **('a, 'b, 'c, 'c, 'c, 'f) CamlinternalFormatBasics.fmt -&gt;** **('a, 'f) Args.t -&gt; 'f**

*val type\_format* : **('x, 'b, 'c, 't, 'u, 'v) CamlinternalFormatBasics.fmt -&gt;** **('a, 'b, 'c, 'd, 'e, 'f) CamlinternalFormatBasics.fmtty -&gt;** **('a, 'b, 'c, 'd, 'e, 'f) CamlinternalFormatBasics.fmt**

*val fmt\_ebb\_of\_string* : **?legacy\_behavior:bool -&gt;** **string -&gt; ('b, 'c, 'e, 'f) fmt\_ebb**

*val format\_of\_string\_fmtty* : **string -&gt;** **('a, 'b, 'c, 'd, 'e, 'f) CamlinternalFormatBasics.fmtty -&gt;** **('a, 'b, 'c, 'd, 'e, 'f) CamlinternalFormatBasics.format6**

*val format\_of\_string\_format* : **string -&gt;** **('a, 'b, 'c, 'd, 'e, 'f) CamlinternalFormatBasics.format6 -&gt;** **('a, 'b, 'c, 'd, 'e, 'f) CamlinternalFormatBasics.format6**

*val char\_of\_iconv* : **CamlinternalFormatBasics.int\_conv -&gt; char**

*val string\_of\_formatting\_lit* : **CamlinternalFormatBasics.formatting\_lit -&gt; string**

*val string\_of\_fmtty* : **('a, 'b, 'c, 'd, 'e, 'f) CamlinternalFormatBasics.fmtty -&gt; string**

*val string\_of\_fmt* : **('a, 'b, 'c, 'd, 'e, 'f) CamlinternalFormatBasics.fmt -&gt; string**

*val open\_box\_of\_string* : **string -&gt; int * CamlinternalFormatBasics.block\_type**

*val symm* : **('a1, 'b1, 'c1, 'd1, 'e1, 'f1, 'a2, 'b2, 'c2, 'd2, 'e2, 'f2)** **CamlinternalFormatBasics.fmtty\_rel -&gt;** **('a2, 'b2, 'c2, 'd2, 'e2, 'f2, 'a1, 'b1, 'c1, 'd1, 'e1, 'f1)** **CamlinternalFormatBasics.fmtty\_rel**

*val trans* : **('a1, 'b1, 'c1, 'd1, 'e1, 'f1, 'a2, 'b2, 'c2, 'd2, 'e2, 'f2)** **CamlinternalFormatBasics.fmtty\_rel -&gt;** **('a2, 'b2, 'c2, 'd2, 'e2, 'f2, 'a3, 'b3, 'c3, 'd3, 'e3, 'f3)** **CamlinternalFormatBasics.fmtty\_rel -&gt;** **('a1, 'b1, 'c1, 'd1, 'e1, 'f1, 'a3, 'b3, 'c3, 'd3, 'e3, 'f3)** **CamlinternalFormatBasics.fmtty\_rel**

*val recast* : **('a1, 'b1, 'c1, 'd1, 'e1, 'f1) CamlinternalFormatBasics.fmt -&gt;** **('a1, 'b1, 'c1, 'd1, 'e1, 'f1, 'a2, 'b2, 'c2, 'd2, 'e2, 'f2)** **CamlinternalFormatBasics.fmtty\_rel -&gt;** **('a2, 'b2, 'c2, 'd2, 'e2, 'f2) CamlinternalFormatBasics.fmt**

2026-10-01 OCamldoc

---

Document: CamlinternalFormat(3o) from ocaml 5.5.1-r1 (Chainguard OS)
Source: https://github.com/ocaml/ocaml
