type option = None | Some (int)

let x : int = match (Some<>(42)) { Some<>((x : int)) -> x | None<> -> 0 }