3 lines
118 B
Text
3 lines
118 B
Text
|
type option<`a> = None | Some (`a)
|
||
|
|
||
|
let x : int = match (Some<int>(42)) { Some<int>((x : int)) -> x | None<int> -> 0 }
|