Created
June 29, 2018 03:04
-
-
Save ArjanJ/5b61c93ab2763052f73c52aac1f6bd0e to your computer and use it in GitHub Desktop.
Bucklescript binding for MurmurHash algorithm
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
type t; | |
/** | |
* MurmurHash | |
* bs binding of https://www.npmjs.com/package/murmurhash | |
* | |
* Must `npm install murmurhash` first. | |
* | |
* Usage: | |
* let foo = MurmurHash.v3("thestringyouwannahash"); | |
*/ | |
[@bs.module] external murmurhash : string => string = ""; | |
let v3 = murmurhash; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment