mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 14:54:47 +00:00
pick 02acef6
This commit is contained in:
parent
b8340b47c6
commit
97c82d8d51
5 changed files with 8 additions and 244 deletions
|
@ -5,7 +5,7 @@ use roc_region::all::Region;
|
|||
use roc_types::builtin_aliases::{
|
||||
bool_type, dict_type, float_type, i128_type, int_type, list_type, nat_type, num_type,
|
||||
ordering_type, result_type, set_type, str_type, str_utf8_byte_problem_type, u16_type, u32_type,
|
||||
u64_type, u8_type,
|
||||
u8_type,
|
||||
};
|
||||
use roc_types::solved_types::SolvedType;
|
||||
use roc_types::subs::VarId;
|
||||
|
@ -1081,13 +1081,6 @@ pub fn types() -> MutMap<Symbol, (SolvedType, Region)> {
|
|||
|
||||
// Dict module
|
||||
|
||||
// Dict.hashTestOnly : U64, v -> U64
|
||||
add_top_level_function_type!(
|
||||
Symbol::DICT_TEST_HASH,
|
||||
vec![u64_type(), flex(TVAR2)],
|
||||
Box::new(u64_type())
|
||||
);
|
||||
|
||||
// len : Dict * * -> Nat
|
||||
add_top_level_function_type!(
|
||||
Symbol::DICT_LEN,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue