equality for Byte and Bool

This commit is contained in:
Folkert 2020-03-13 17:01:18 +01:00
parent f894459159
commit 05a3e8c3d8
5 changed files with 59 additions and 6 deletions

View file

@ -591,7 +591,9 @@ define_builtins! {
6 INT_LOWEST: "lowest"
7 INT_ADD: "#add"
8 INT_SUB: "#sub"
9 INT_EQ: "#eq"
9 INT_EQ_I64: "#eqi64" // Equality on 64-bit integers, the standard in Roc
10 INT_EQ_I1: "#eqi1" // Equality on boolean (theoretically i1) values
11 INT_EQ_I8: "#eqi8" // Equality on byte (theoretically i8) values
}
3 FLOAT: "Float" => {
0 FLOAT_FLOAT: "Float" imported // the Float.Float type alias