let to_string x = match x with | 1 -> "one" | 2 -> "two" | n -> string_of_int n