mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
make hash work for integers/floats/strings
This commit is contained in:
parent
1afd64f7e7
commit
2d63e24843
9 changed files with 88 additions and 18 deletions
|
@ -4,9 +4,13 @@ const testing = std.testing;
|
|||
|
||||
// Dict Module
|
||||
const dict = @import("dict.zig");
|
||||
const hash = @import("hash.zig");
|
||||
|
||||
comptime {
|
||||
exportDictFn(dict.dictLen, "len");
|
||||
exportDictFn(dict.dictEmpty, "empty");
|
||||
exportDictFn(hash.wyhash, "hash");
|
||||
exportDictFn(hash.wyhash_rocstr, "hash_str");
|
||||
}
|
||||
|
||||
// Num Module
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue