SpacedOut.Writeval string_as : 'a cast -> 'a -> stringto_string c v casts v using c and returns the result as a string.
val line_as : 'a cast -> Stdlib.out_channel -> 'a -> unitline c ochan v casts v using c and writes the result ochan, adding a newline character.
val int : int castval bit : bool castval float : float castCast a float using the %g specification (see Printf).
val char : char castval string : string castFor each tuple size n (up to 9), we provide a function tuple_<n> as well as some common aliases (eg. pair for tuple_2 or pentuple for tuple_5). tuple_<n> takes n cast functions and returns a cast for the corresponding n-tuples.
tuple_<n> ~sep c1 ... c<n> is a cast that applies c1 ... c<n> on its n inputs and catenates them using seps.