mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 22:34:45 +00:00
Merge branch 'trunk' into gen-equality
This commit is contained in:
commit
76a9461cfe
41 changed files with 2123 additions and 53 deletions
|
@ -28,6 +28,9 @@ pub enum LowLevel {
|
|||
ListWalk,
|
||||
ListWalkBackwards,
|
||||
ListSum,
|
||||
DictSize,
|
||||
DictEmpty,
|
||||
DictInsert,
|
||||
NumAdd,
|
||||
NumAddWrap,
|
||||
NumAddChecked,
|
||||
|
@ -66,4 +69,5 @@ pub enum LowLevel {
|
|||
And,
|
||||
Or,
|
||||
Not,
|
||||
Hash,
|
||||
}
|
||||
|
|
|
@ -742,6 +742,7 @@ define_builtins! {
|
|||
12 ARG_CLOSURE: "#arg_closure" // symbol used to store the closure record
|
||||
13 LIST_EQ: "#list_eq" // internal function that checks list equality
|
||||
14 GENERIC_EQ: "#generic_eq" // internal function that checks generic equality
|
||||
15 GENERIC_HASH: "#generic_hash" // internal function that checks list equality
|
||||
}
|
||||
1 NUM: "Num" => {
|
||||
0 NUM_NUM: "Num" imported // the Num.Num type alias
|
||||
|
@ -893,6 +894,11 @@ define_builtins! {
|
|||
3 DICT_SINGLETON: "singleton"
|
||||
4 DICT_GET: "get"
|
||||
5 DICT_INSERT: "insert"
|
||||
6 DICT_LEN: "len"
|
||||
|
||||
// This should not be exposed to users, its for testing the
|
||||
// hash function ONLY
|
||||
7 DICT_TEST_HASH: "hashTestOnly"
|
||||
}
|
||||
7 SET: "Set" => {
|
||||
0 SET_SET: "Set" imported // the Set.Set type alias
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue