5 lines
No EOL
149 B
Text
5 lines
No EOL
149 B
Text
type or<`a, `b> = Left(`a) | Right(`b)
|
|
|
|
let x : int = match (Left<int, int>(22)) {
|
|
Left<int, string>((x : int)) | Right<int, int>((x : int)) -> x
|
|
} |