-
-
Save aav/c7beda4b14820ce21b4155efe23df3f9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
primitive Type1 | |
primitive Type2 | |
type Union is (Type1 | Type2) | |
primitive Test | |
fun f1(): Union => | |
Type1 | |
fun f2() => | |
let r: Union = f1() | |
match r | |
| Union => | |
None | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment