val format_one :
outa:('c -> unit) -> outc:(char -> unit) -> os:'b -> fmt:string -> i:int ->
cont:(int -> obj) -> obj |
A building block for processing format strings. This processes the format character at
the given position (which normally follows a '%' in a format
string) and produces an 'obj' which can be dynamically cast to
a type that depends on the format specifier.
The function 'cont' is called to produce the object that will be returned
after this part of the format is processed.
The function 'outa' is called to process the 'c values
returned by 'a' and 't' specifiers.
The function 'outc' is called to emit characters.
's' gives a (string -> obj)
'd' gives a (int -> obj)
'a' gives a (obj -> ('b -> obj -> 'c) -> obj)
't' gives a (obj -> obj)
'f' gives a (float -> obj)
|