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 -> ('b, 'c) acc -> 'd) -> 'b -> ('b, 'c) acc ->
106 ('a, 'b, 'c, 'c, 'c, 'd) CamlinternalFormatBasics.fmt -> 'a
107
108
109
110
111 val make_iprintf : ('b -> 'f) -> 'b -> ('a, 'b, 'c, 'd, 'e, 'f) Camlin‐
112 ternalFormatBasics.fmt -> 'a
113
114
115
116
117 val output_acc : Pervasives.out_channel -> (Pervasives.out_channel,
118 unit) acc -> unit
119
120
121
122
123 val bufput_acc : Buffer.t -> (Buffer.t, unit) acc -> unit
124
125
126
127
128 val strput_acc : Buffer.t -> (unit, string) acc -> unit
129
130
131
132
133 val type_format : ('x, 'b, 'c, 't, 'u, 'v) CamlinternalFormatBasics.fmt
134 -> ('a, 'b, 'c, 'd, 'e, 'f) CamlinternalFormatBasics.fmtty -> ('a, 'b,
135 'c, 'd, 'e, 'f) CamlinternalFormatBasics.fmt
136
137
138
139
140 val fmt_ebb_of_string : ?legacy_behavior:bool -> string -> ('b, 'c, 'e,
141 'f) fmt_ebb
142
143
144
145
146 val format_of_string_fmtty : string -> ('a, 'b, 'c, 'd, 'e, 'f) Camlin‐
147 ternalFormatBasics.fmtty -> ('a, 'b, 'c, 'd, 'e, 'f) CamlinternalFor‐
148 matBasics.format6
149
150
151
152
153 val format_of_string_format : string -> ('a, 'b, 'c, 'd, 'e, 'f) Cam‐
154 linternalFormatBasics.format6 -> ('a, 'b, 'c, 'd, 'e, 'f) Camlinternal‐
155 FormatBasics.format6
156
157
158
159
160 val char_of_iconv : CamlinternalFormatBasics.int_conv -> char
161
162
163
164
165 val string_of_formatting_lit : CamlinternalFormatBasics.formatting_lit
166 -> string
167
168
169
170
171 val string_of_formatting_gen : ('a, 'b, 'c, 'd, 'e, 'f) Camlinternal‐
172 FormatBasics.formatting_gen -> string
173
174
175
176
177 val string_of_fmtty : ('a, 'b, 'c, 'd, 'e, 'f) CamlinternalFormatBa‐
178 sics.fmtty -> string
179
180
181
182
183 val string_of_fmt : ('a, 'b, 'c, 'd, 'e, 'f) CamlinternalFormatBa‐
184 sics.fmt -> string
185
186
187
188
189 val open_box_of_string : string -> int * CamlinternalFormatBa‐
190 sics.block_type
191
192
193
194
195 val symm : ('a1, 'b1, 'c1, 'd1, 'e1, 'f1, 'a2, 'b2, 'c2, 'd2, 'e2, 'f2)
196 CamlinternalFormatBasics.fmtty_rel -> ('a2, 'b2, 'c2, 'd2, 'e2, 'f2,
197 'a1, 'b1, 'c1, 'd1, 'e1, 'f1) CamlinternalFormatBasics.fmtty_rel
198
199
200
201
202 val trans : ('a1, 'b1, 'c1, 'd1, 'e1, 'f1, 'a2, 'b2, 'c2, 'd2, 'e2,
203 'f2) CamlinternalFormatBasics.fmtty_rel -> ('a2, 'b2, 'c2, 'd2, 'e2,
204 'f2, 'a3, 'b3, 'c3, 'd3, 'e3, 'f3) CamlinternalFormatBasics.fmtty_rel
205 -> ('a1, 'b1, 'c1, 'd1, 'e1, 'f1, 'a3, 'b3, 'c3, 'd3, 'e3, 'f3) Camlin‐
206 ternalFormatBasics.fmtty_rel
207
208
209
210
211 val recast : ('a1, 'b1, 'c1, 'd1, 'e1, 'f1) CamlinternalFormatBa‐
212 sics.fmt -> ('a1, 'b1, 'c1, 'd1, 'e1, 'f1, 'a2, 'b2, 'c2, 'd2, 'e2,
213 'f2) CamlinternalFormatBasics.fmtty_rel -> ('a2, 'b2, 'c2, 'd2, 'e2,
214 'f2) CamlinternalFormatBasics.fmt
215
216
217
218
219
220
221OCamldoc 2019-02-02 CamlinternalFormat(3)