Move Eq to Bool

This commit is contained in:
Ayaz Hafiz 2022-10-10 15:22:57 -05:00
parent bd5f5ed735
commit a256947a9f
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
19 changed files with 92 additions and 101 deletions

View file

@ -1251,8 +1251,11 @@ define_builtins! {
4 BOOL_OR: "or"
5 BOOL_NOT: "not"
6 BOOL_XOR: "xor"
7 BOOL_EQ: "isEq"
8 BOOL_NEQ: "isNotEq"
7 BOOL_NEQ: "isNotEq"
8 EQ_EQ: "Eq" exposed_type=true
9 EQ_IS_EQ: "isEq"
10 EQ_STRUCTURAL_EQ: "structuralEq"
11 BOOL_IS_EQ_IMPL: "boolIsEq"
}
5 STR: "Str" => {
0 STR_STR: "Str" exposed_apply_type=true // the Str.Str type alias
@ -1525,15 +1528,9 @@ define_builtins! {
15 HASH_HASH_STR_BYTES: "hashStrBytes"
16 HASH_HASH_LIST: "hashList"
}
14 EQ: "Eq" => {
0 EQ_EQ: "Eq" exposed_type=true
1 EQ_IS_EQ: "isEq"
2 EQ_IS_NOT_EQ: "isNotEq"
3 EQ_STRUCTURAL_EQ: "structuralEq"
}
15 JSON: "Json" => {
14 JSON: "Json" => {
0 JSON_JSON: "Json"
}
num_modules: 16 // Keep this count up to date by hand! (TODO: see the mut_map! macro for how we could determine this count correctly in the macro)
num_modules: 15 // Keep this count up to date by hand! (TODO: see the mut_map! macro for how we could determine this count correctly in the macro)
}