Last active
January 19, 2018 11:31
-
-
Save reynir/0ca3a1254bd47133dd308d5e2895923e to your computer and use it in GitHub Desktop.
asd
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
(jbuild_version 1) | |
(library | |
((name test) | |
(public_name test) | |
(preprocess (pps ())))) |
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
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
let foo = (type a, xs: list(a)) => | |
switch xs { | |
| [x, ..._] => Some(x) | |
| _ => None | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The error: