[Home] Module Microsoft.FSharp.Primitives.PrintfPrimitives


Types

TypeDescription
type Format4

Values

ValueDescription
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)
 
val gprintf :
  ('c -> unit) -> (char -> unit) -> 'b -> (unit -> 'd) -> ('a,'b,'c,'d) Format4
  -> 'a

See Also

Microsoft.FSharp.Primitives


Documentation for assembly fslib, version 1.1.10.1, generated using F# version 1.1.10.1