mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 00:01:16 +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
|
@ -907,7 +907,7 @@ pub fn types() -> MutMap<Symbol, (SolvedType, Region)> {
|
|||
// Dict module
|
||||
|
||||
// : Attr * (Dict k v) -> Attr * Nat
|
||||
add_type(Symbol::DICT_SIZE, {
|
||||
add_type(Symbol::DICT_LEN, {
|
||||
let_tvars! { star1, k , v, star2, int };
|
||||
|
||||
unique_function(vec![dict_type(star1, k, v)], int_type(star2, int))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue