(* $Id: num_top_printers.ml 49 2003-12-30 09:48:02Z gerd $ * ---------------------------------------------------------------------- * *) let nat_printer fmt v = Format.fprintf fmt "" (Nat.string_of_nat v) let big_int_printer fmt v = Format.fprintf fmt "" (Big_int.string_of_big_int v) let ratio_printer fmt v = Format.fprintf fmt "" (Ratio.string_of_ratio v) let num_printer fmt v = Format.fprintf fmt "" (Num.string_of_num v)