mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
wip
This commit is contained in:
parent
920b530008
commit
461e166254
16 changed files with 279 additions and 488 deletions
|
@ -3,8 +3,9 @@
|
|||
/// into an Expr when added directly by can::builtins
|
||||
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
|
||||
pub enum LowLevel {
|
||||
/// List.len
|
||||
ListLen,
|
||||
ListGetUnsafe,
|
||||
ListSetUnsafe,
|
||||
Eq,
|
||||
NotEq,
|
||||
And,
|
||||
|
|
|
@ -684,11 +684,13 @@ define_builtins! {
|
|||
11 LIST_LEN_ARG: "len#list"
|
||||
12 LIST_FOLDL: "foldl"
|
||||
13 LIST_FOLDR: "foldr"
|
||||
14 LIST_GET_UNSAFE: "getUnsafe"
|
||||
15 LIST_CONCAT: "concat"
|
||||
16 LIST_FIRST: "first"
|
||||
17 LIST_FIRST_ARG: "first#list"
|
||||
18 LIST_SINGLE: "single"
|
||||
14 LIST_CONCAT: "concat"
|
||||
15 LIST_FIRST: "first"
|
||||
16 LIST_FIRST_ARG: "first#list"
|
||||
17 LIST_SINGLE: "single"
|
||||
18 LIST_SET_ARG_LIST: "set#list"
|
||||
19 LIST_SET_ARG_INDEX: "set#index"
|
||||
20 LIST_SET_ARG_ELEM: "set#elem"
|
||||
}
|
||||
7 RESULT: "Result" => {
|
||||
0 RESULT_RESULT: "Result" imported // the Result.Result type alias
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue