mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 00:24:34 +00:00
Dict.insert WIP
This commit is contained in:
parent
84e4cbc859
commit
b2e626ab0c
2 changed files with 141 additions and 32 deletions
|
@ -812,7 +812,7 @@ pub fn types() -> MutMap<Symbol, (SolvedType, Region)> {
|
|||
|
||||
// Dict.values : Dict k v -> List v
|
||||
add_type(
|
||||
Symbol::DICT_KEYS,
|
||||
Symbol::DICT_VALUES,
|
||||
top_level_function(
|
||||
vec![dict_type(flex(TVAR1), flex(TVAR2))],
|
||||
Box::new(list_type(flex(TVAR2))),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue