rename Dict.size to Dict.len

This commit is contained in:
Chadtech 2021-01-21 23:16:25 -05:00
parent 609bb21fad
commit 9d776a2de5
10 changed files with 19 additions and 19 deletions

View file

@ -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()),