14 lines
421 B
Rust
Raw Normal View History

2020-08-06 03:53:18 -04:00
use crate::builtin::{
map::{map_get, map_has_key, map_keys, map_merge, map_remove, map_values},
modules::Module,
};
2020-07-25 20:05:46 -04:00
2020-07-26 00:22:44 -04:00
pub(crate) fn declare(f: &mut Module) {
f.insert_builtin("get", map_get);
f.insert_builtin("has-key", map_has_key);
f.insert_builtin("keys", map_keys);
f.insert_builtin("merge", map_merge);
f.insert_builtin("remove", map_remove);
f.insert_builtin("values", map_values);
}