mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 14:54:47 +00:00
Merge remote-tracking branch 'origin/trunk' into specialize-separately
This commit is contained in:
commit
245a9fc951
40 changed files with 2118 additions and 1621 deletions
|
@ -623,6 +623,12 @@ define_builtins! {
|
|||
29 INT_IS_ODD_ARG: "isOdd#arg"
|
||||
30 INT_IS_EVEN: "isEven"
|
||||
31 INT_IS_EVEN_ARG: "isEven#arg"
|
||||
32 INT_IS_ZERO: "isZero"
|
||||
33 INT_IS_ZERO_ARG: "isZero#arg"
|
||||
34 INT_IS_POSITIVE: "isPositive"
|
||||
35 INT_IS_POSITIVE_ARG: "isPositive#arg"
|
||||
36 INT_IS_NEGATIVE: "isNegative"
|
||||
37 INT_IS_NEGATIVE_ARG: "isNegative#arg"
|
||||
}
|
||||
3 FLOAT: "Float" => {
|
||||
0 FLOAT_FLOAT: "Float" imported // the Float.Float type alias
|
||||
|
@ -635,13 +641,23 @@ define_builtins! {
|
|||
7 FLOAT_LOWEST: "lowest"
|
||||
8 FLOAT_ADD: "#add"
|
||||
9 FLOAT_SUB: "#sub"
|
||||
10 FLOAT_EQ: "#eq"
|
||||
10 FLOAT_EQ: "eq"
|
||||
11 FLOAT_ROUND: "round"
|
||||
12 FLOAT_LT: "#lt"
|
||||
13 FLOAT_LTE: "#lte"
|
||||
14 FLOAT_GT: "#gt"
|
||||
14 FLOAT_GT: "gt"
|
||||
15 FLOAT_GTE: "#gte"
|
||||
16 FLOAT_ABS: "abs"
|
||||
17 FLOAT_IS_POSITIVE: "isPositive"
|
||||
18 FLOAT_IS_POSITIVE_ARG: "isPositive#arg"
|
||||
19 FLOAT_IS_NEGATIVE: "isNegative"
|
||||
20 FLOAT_IS_NEGATIVE_ARG: "isNegative#arg"
|
||||
21 FLOAT_IS_ZERO: "isZero"
|
||||
22 FLOAT_IS_ZERO_ARG: "isZero#arg"
|
||||
23 FLOAT_SIN: "sin"
|
||||
24 FLOAT_COS: "cos"
|
||||
25 FLOAT_TAN: "tan"
|
||||
26 FLOAT_TAN_ARG: "tan#arg"
|
||||
}
|
||||
4 BOOL: "Bool" => {
|
||||
0 BOOL_BOOL: "Bool" imported // the Bool.Bool type alias
|
||||
|
@ -676,6 +692,7 @@ define_builtins! {
|
|||
15 LIST_CONCAT: "concat"
|
||||
16 LIST_FIRST: "first"
|
||||
17 LIST_FIRST_ARG: "first#list"
|
||||
18 LIST_SINGLE: "single"
|
||||
}
|
||||
7 RESULT: "Result" => {
|
||||
0 RESULT_RESULT: "Result" imported // the Result.Result type alias
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue