type option<`a> = None | Some (string) let x : int = match (Some(42)) { Some((x : int)) -> x | None -> 0 }