Hash map in standard package (#676)
- Hash map is now available in a
Core
standard package!
- Implemented as a persistent data structure of Hash Array Mapped Trie (HAMT.)
- Some optimizations are omitted for simplicity for now.
- It also provides maps specialized for string/number-only keys.
TestMapGet = \() none | error {
key = "foo"
value = "bar"
m = map'Set(map'New(), key, value)
Assert'True(map'Get(m, key) == value)
}