mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
use user-provided seed
This commit is contained in:
parent
31fc62b7f0
commit
352008e8a0
5 changed files with 30 additions and 11 deletions
|
@ -4,7 +4,7 @@ use roc_module::symbol::Symbol;
|
|||
use roc_region::all::Region;
|
||||
use roc_types::builtin_aliases::{
|
||||
bool_type, dict_type, float_type, int_type, list_type, nat_type, num_type, ordering_type,
|
||||
result_type, set_type, str_type,
|
||||
result_type, set_type, str_type, u64_type,
|
||||
};
|
||||
use roc_types::solved_types::SolvedType;
|
||||
use roc_types::subs::VarId;
|
||||
|
@ -729,10 +729,10 @@ pub fn types() -> MutMap<Symbol, (SolvedType, Region)> {
|
|||
|
||||
// Dict module
|
||||
|
||||
// Dict.hashTestOnly : k, v -> Nat
|
||||
// Dict.hashTestOnly : Nat, v -> Nat
|
||||
add_type(
|
||||
Symbol::DICT_TEST_HASH,
|
||||
top_level_function(vec![flex(TVAR1), flex(TVAR2)], Box::new(nat_type())),
|
||||
top_level_function(vec![u64_type(), flex(TVAR2)], Box::new(nat_type())),
|
||||
);
|
||||
|
||||
// len : Dict * * -> Nat
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue