@@ -127,41 +127,41 @@ val bprintf : Buffer.t -> ('a, Buffer.t, unit) format -> 'a
127
127
append the formatted arguments to the given extensible buffer
128
128
(see module {!Buffer}). *)
129
129
130
- val ifprintf : 'a -> ('b , 'a , 'c , unit ) format4 -> 'b
130
+ val ifprintf : 'b -> ('a , 'b , 'c , unit ) format4 -> 'a
131
131
(* * Same as {!Printf.fprintf}, but does not print anything.
132
132
Useful to ignore some material when conditionally printing.
133
133
@since 3.10.0
134
134
*)
135
135
136
136
(* * Formatted output functions with continuations. *)
137
137
138
- val kfprintf : (out_channel -> 'a ) -> out_channel ->
139
- ('b , out_channel , unit , 'a ) format4 -> 'b
138
+ val kfprintf : (out_channel -> 'd ) -> out_channel ->
139
+ ('a , out_channel , unit , 'd ) format4 -> 'a
140
140
(* * Same as [fprintf], but instead of returning immediately,
141
141
passes the out channel to its first argument at the end of printing.
142
142
@since 3.09.0
143
143
*)
144
144
145
- val ikfprintf : ('a -> 'b ) -> 'a -> ('c , 'a , 'd , 'b ) format4 -> 'c
145
+ val ikfprintf : ('b -> 'd ) -> 'b -> ('a , 'b , 'c , 'd ) format4 -> 'a
146
146
(* * Same as [kfprintf] above, but does not print anything.
147
147
Useful to ignore some material when conditionally printing.
148
148
@since 4.0
149
149
*)
150
150
151
- val ksprintf : (string -> 'a ) -> ('b , unit , string , 'a ) format4 -> 'b
151
+ val ksprintf : (string -> 'd ) -> ('a , unit , string , 'd ) format4 -> 'a
152
152
(* * Same as [sprintf] above, but instead of returning the string,
153
153
passes it to the first argument.
154
154
@since 3.09.0
155
155
*)
156
156
157
- val kbprintf : (Buffer .t -> 'a ) -> Buffer .t ->
158
- ('b , Buffer .t , unit , 'a ) format4 -> 'b
157
+ val kbprintf : (Buffer .t -> 'd ) -> Buffer .t ->
158
+ ('a , Buffer .t , unit , 'd ) format4 -> 'a
159
159
(* * Same as [bprintf], but instead of returning immediately,
160
160
passes the buffer to its first argument at the end of printing.
161
161
@since 3.10.0
162
162
*)
163
163
164
164
(* * Deprecated *)
165
165
166
- val kprintf : (string -> 'a ) -> ('b , unit , string , 'a ) format4 -> 'b
166
+ val kprintf : (string -> 'b ) -> ('a , unit , string , 'b ) format4 -> 'a
167
167
(* * A deprecated synonym for [ksprintf]. *)
0 commit comments