mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 00:24:34 +00:00
rename Dict.size to Dict.len
This commit is contained in:
parent
609bb21fad
commit
9d776a2de5
10 changed files with 19 additions and 19 deletions
|
@ -720,9 +720,9 @@ pub fn types() -> MutMap<Symbol, (SolvedType, Region)> {
|
|||
|
||||
// Dict module
|
||||
|
||||
// size : Dict * * -> Nat
|
||||
// len : Dict * * -> Nat
|
||||
add_type(
|
||||
Symbol::DICT_SIZE,
|
||||
Symbol::DICT_LEN,
|
||||
top_level_function(
|
||||
vec![dict_type(flex(TVAR1), flex(TVAR2))],
|
||||
Box::new(nat_type()),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue