Switch back to builtin_defs returning Def

This commit is contained in:
Richard Feldman 2020-06-20 10:46:31 -04:00
parent 16ceb895c1
commit 07689ca9dc
6 changed files with 182 additions and 112 deletions

View file

@ -7,4 +7,7 @@ pub enum LowLevel {
ListLen,
Eq,
NotEq,
And,
Or,
Not,
}

View file

@ -661,8 +661,8 @@ define_builtins! {
4 BOOL_XOR: "xor"
5 BOOL_EQ: "isEq"
6 BOOL_NEQ: "isNotEq"
7 BOOL_EQ_LHS: "eq#lhs"
8 BOOL_EQ_RHS: "eq#rhs"
7 BOOL_BINOP_LHS: "bool#lhs"
8 BOOL_BINOP_RHS: "bool#rhs"
}
5 STR: "Str" => {
0 STR_STR: "Str" imported // the Str.Str type alias