let f (x : int option) = match x with | None -> 42 | Some 0 -> 10 | Some 1 -> 20 | Some n -> n + 50