1CamlinternalFormat(3) OCaml library CamlinternalFormat(3)
2
3
4
6 CamlinternalFormat - no description
7
9 Module CamlinternalFormat
10
12 Module CamlinternalFormat
13 : sig end
14
15
16
17
18
19
20
21
22 val is_in_char_set : CamlinternalFormatBasics.char_set -> char -> bool
23
24
25
26
27 val rev_char_set : CamlinternalFormatBasics.char_set -> Camlinternal‐
28 FormatBasics.char_set
29
30
31
32 type mutable_char_set = bytes
33
34
35
36
37
38 val create_char_set : unit -> mutable_char_set
39
40
41
42
43 val add_in_char_set : mutable_char_set -> char -> unit
44
45
46
47
48 val freeze_char_set : mutable_char_set -> CamlinternalFormatBa‐
49 sics.char_set
50
51
52
53 type ('a, 'b, 'c, 'd, 'e, 'f) param_format_ebb =
54 | Param_format_EBB : ('x -> 'a0, 'b0, 'c0, 'd0, 'e0, 'f0) Camlinter‐
55 nalFormatBasics.fmt -> ('a0, 'b0, 'c0, 'd0, 'e0, 'f0) param_format_ebb
56
57
58
59
60
61 val param_format_of_ignored_format : ('a, 'b, 'c, 'd, 'y, 'x) Camlin‐
62 ternalFormatBasics.ignored -> ('x, 'b, 'c, 'y, 'e, 'f) CamlinternalFor‐
63 matBasics.fmt -> ('a, 'b, 'c, 'd, 'e, 'f) param_format_ebb
64
65
66
67 type ('b, 'c) acc_formatting_gen =
68 | Acc_open_tag of ('b, 'c) acc
69 | Acc_open_box of ('b, 'c) acc
70
71
72
73
74 type ('b, 'c) acc =
75 | Acc_formatting_lit of ('b, 'c) acc * CamlinternalFormatBasics.for‐
76 matting_lit
77 | Acc_formatting_gen of ('b, 'c) acc * ('b, 'c) acc_formatting_gen
78 | Acc_string_literal of ('b, 'c) acc * string
79 | Acc_char_literal of ('b, 'c) acc * char
80 | Acc_data_string of ('b, 'c) acc * string
81 | Acc_data_char of ('b, 'c) acc * char
82 | Acc_delay of ('b, 'c) acc * ('b -> 'c)
83 | Acc_flush of ('b, 'c) acc
84 | Acc_invalid_arg of ('b, 'c) acc * string
85 | End_of_acc
86
87
88
89
90 type ('a, 'b) heter_list =
91 | Cons : 'c * ('a0, 'b0) heter_list -> ('c -> 'a0, 'b0) heter_list
92 | Nil : ('b1, 'b1) heter_list
93
94
95
96
97 type ('b, 'c, 'e, 'f) fmt_ebb =
98 | Fmt_EBB : ('a, 'b0, 'c0, 'd, 'e0, 'f0) CamlinternalFormatBasics.fmt
99 -> ('b0, 'c0, 'e0, 'f0) fmt_ebb
100
101
102
103
104
105 val make_printf : (('b, 'c) acc -> 'd) -> ('b, 'c) acc -> ('a, 'b, 'c,
106 'c, 'c, 'd) CamlinternalFormatBasics.fmt -> 'a
107
108
109
110
111 val make_iprintf : ('s -> 'f) -> 's -> ('a, 'b, 'c, 'd, 'e, 'f) Camlin‐
112 ternalFormatBasics.fmt -> 'a
113
114
115
116
117 val output_acc : out_channel -> (out_channel, unit) acc -> unit
118
119
120
121
122 val bufput_acc : Buffer.t -> (Buffer.t, unit) acc -> unit
123
124
125
126
127 val strput_acc : Buffer.t -> (unit, string) acc -> unit
128
129
130
131
132 val type_format : ('x, 'b, 'c, 't, 'u, 'v) CamlinternalFormatBasics.fmt
133 -> ('a, 'b, 'c, 'd, 'e, 'f) CamlinternalFormatBasics.fmtty -> ('a, 'b,
134 'c, 'd, 'e, 'f) CamlinternalFormatBasics.fmt
135
136
137
138
139 val fmt_ebb_of_string : ?legacy_behavior:bool -> string -> ('b, 'c, 'e,
140 'f) fmt_ebb
141
142
143
144
145 val format_of_string_fmtty : string -> ('a, 'b, 'c, 'd, 'e, 'f) Camlin‐
146 ternalFormatBasics.fmtty -> ('a, 'b, 'c, 'd, 'e, 'f) CamlinternalFor‐
147 matBasics.format6
148
149
150
151
152 val format_of_string_format : string -> ('a, 'b, 'c, 'd, 'e, 'f) Cam‐
153 linternalFormatBasics.format6 -> ('a, 'b, 'c, 'd, 'e, 'f) Camlinternal‐
154 FormatBasics.format6
155
156
157
158
159 val char_of_iconv : CamlinternalFormatBasics.int_conv -> char
160
161
162
163
164 val string_of_formatting_lit : CamlinternalFormatBasics.formatting_lit
165 -> string
166
167
168
169
170 val string_of_fmtty : ('a, 'b, 'c, 'd, 'e, 'f) CamlinternalFormatBa‐
171 sics.fmtty -> string
172
173
174
175
176 val string_of_fmt : ('a, 'b, 'c, 'd, 'e, 'f) CamlinternalFormatBa‐
177 sics.fmt -> string
178
179
180
181
182 val open_box_of_string : string -> int * CamlinternalFormatBa‐
183 sics.block_type
184
185
186
187
188 val symm : ('a1, 'b1, 'c1, 'd1, 'e1, 'f1, 'a2, 'b2, 'c2, 'd2, 'e2, 'f2)
189 CamlinternalFormatBasics.fmtty_rel -> ('a2, 'b2, 'c2, 'd2, 'e2, 'f2,
190 'a1, 'b1, 'c1, 'd1, 'e1, 'f1) CamlinternalFormatBasics.fmtty_rel
191
192
193
194
195 val trans : ('a1, 'b1, 'c1, 'd1, 'e1, 'f1, 'a2, 'b2, 'c2, 'd2, 'e2,
196 'f2) CamlinternalFormatBasics.fmtty_rel -> ('a2, 'b2, 'c2, 'd2, 'e2,
197 'f2, 'a3, 'b3, 'c3, 'd3, 'e3, 'f3) CamlinternalFormatBasics.fmtty_rel
198 -> ('a1, 'b1, 'c1, 'd1, 'e1, 'f1, 'a3, 'b3, 'c3, 'd3, 'e3, 'f3) Camlin‐
199 ternalFormatBasics.fmtty_rel
200
201
202
203
204 val recast : ('a1, 'b1, 'c1, 'd1, 'e1, 'f1) CamlinternalFormatBa‐
205 sics.fmt -> ('a1, 'b1, 'c1, 'd1, 'e1, 'f1, 'a2, 'b2, 'c2, 'd2, 'e2,
206 'f2) CamlinternalFormatBasics.fmtty_rel -> ('a2, 'b2, 'c2, 'd2, 'e2,
207 'f2) CamlinternalFormatBasics.fmt
208
209
210
211
212
213
214OCamldoc 2021-01-26 CamlinternalFormat(3)