Created
May 25, 2018 11:25
-
-
Save gladimdim/0b1b9d72add2e1c58e6b8b99b075aaeb to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| [@bs.module "semver"] [@bs.val] | |
| external cmp : (string, string, string) => bool = "cmp"; | |
| let cmp = (a: string, c: comparator, b: string) => | |
| cmp(a, c |> comparatorToString, b); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment