mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 14:54:47 +00:00
builtins can use builtins now
This commit is contained in:
parent
f7a0fbc8b0
commit
697a65e77c
3 changed files with 85 additions and 79 deletions
|
@ -1075,36 +1075,34 @@ define_builtins! {
|
|||
24 LIST_MAP2: "map2"
|
||||
25 LIST_MAP3: "map3"
|
||||
26 LIST_PRODUCT: "product"
|
||||
27 LIST_SUM_ADD: "#sumadd"
|
||||
28 LIST_PRODUCT_MUL: "#productmul"
|
||||
29 LIST_WALK_UNTIL: "walkUntil"
|
||||
30 LIST_RANGE: "range"
|
||||
31 LIST_SORT_WITH: "sortWith"
|
||||
32 LIST_DROP: "drop"
|
||||
33 LIST_SWAP: "swap"
|
||||
34 LIST_DROP_AT: "dropAt"
|
||||
35 LIST_DROP_LAST: "dropLast"
|
||||
36 LIST_MIN: "min"
|
||||
37 LIST_MIN_LT: "#minlt"
|
||||
38 LIST_MAX: "max"
|
||||
39 LIST_MAX_GT: "#maxGt"
|
||||
40 LIST_MAP4: "map4"
|
||||
41 LIST_DROP_FIRST: "dropFirst"
|
||||
42 LIST_JOIN_MAP: "joinMap"
|
||||
43 LIST_JOIN_MAP_CONCAT: "#joinMapConcat"
|
||||
44 LIST_ANY: "any"
|
||||
45 LIST_TAKE_FIRST: "takeFirst"
|
||||
46 LIST_TAKE_LAST: "takeLast"
|
||||
47 LIST_FIND: "find"
|
||||
48 LIST_FIND_RESULT: "#find_result" // symbol used in the definition of List.find
|
||||
49 LIST_SUBLIST: "sublist"
|
||||
50 LIST_INTERSPERSE: "intersperse"
|
||||
51 LIST_INTERSPERSE_CLOS: "#intersperseClos"
|
||||
52 LIST_SPLIT: "split"
|
||||
53 LIST_SPLIT_CLOS: "#splitClos"
|
||||
54 LIST_ALL: "all"
|
||||
55 LIST_DROP_IF: "dropIf"
|
||||
56 LIST_DROP_IF_PREDICATE: "#dropIfPred"
|
||||
27 LIST_WALK_UNTIL: "walkUntil"
|
||||
28 LIST_RANGE: "range"
|
||||
29 LIST_SORT_WITH: "sortWith"
|
||||
30 LIST_DROP: "drop"
|
||||
31 LIST_SWAP: "swap"
|
||||
32 LIST_DROP_AT: "dropAt"
|
||||
33 LIST_DROP_LAST: "dropLast"
|
||||
34 LIST_MIN: "min"
|
||||
35 LIST_MIN_LT: "#minlt"
|
||||
36 LIST_MAX: "max"
|
||||
37 LIST_MAX_GT: "#maxGt"
|
||||
38 LIST_MAP4: "map4"
|
||||
39 LIST_DROP_FIRST: "dropFirst"
|
||||
40 LIST_JOIN_MAP: "joinMap"
|
||||
41 LIST_JOIN_MAP_CONCAT: "#joinMapConcat"
|
||||
42 LIST_ANY: "any"
|
||||
43 LIST_TAKE_FIRST: "takeFirst"
|
||||
44 LIST_TAKE_LAST: "takeLast"
|
||||
45 LIST_FIND: "find"
|
||||
46 LIST_FIND_RESULT: "#find_result" // symbol used in the definition of List.find
|
||||
47 LIST_SUBLIST: "sublist"
|
||||
48 LIST_INTERSPERSE: "intersperse"
|
||||
49 LIST_INTERSPERSE_CLOS: "#intersperseClos"
|
||||
50 LIST_SPLIT: "split"
|
||||
51 LIST_SPLIT_CLOS: "#splitClos"
|
||||
52 LIST_ALL: "all"
|
||||
53 LIST_DROP_IF: "dropIf"
|
||||
54 LIST_DROP_IF_PREDICATE: "#dropIfPred"
|
||||
}
|
||||
5 RESULT: "Result" => {
|
||||
0 RESULT_RESULT: "Result" imported // the Result.Result type alias
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue