mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 14:54:47 +00:00
feat(List): add walk function and fix walkBackwards
This commit is contained in:
parent
d9e906b8fb
commit
8feab843ea
9 changed files with 210 additions and 26 deletions
|
@ -683,18 +683,18 @@ define_builtins! {
|
|||
5 LIST_APPEND: "append"
|
||||
6 LIST_MAP: "map"
|
||||
7 LIST_LEN: "len"
|
||||
8 LIST_FOLDL: "foldl"
|
||||
9 LIST_WALK_BACKWARDS: "walkBackwards"
|
||||
10 LIST_CONCAT: "concat"
|
||||
11 LIST_FIRST: "first"
|
||||
12 LIST_SINGLE: "single"
|
||||
13 LIST_REPEAT: "repeat"
|
||||
14 LIST_REVERSE: "reverse"
|
||||
15 LIST_PREPEND: "prepend"
|
||||
16 LIST_JOIN: "join"
|
||||
17 LIST_KEEP_IF: "keepIf"
|
||||
18 LIST_CONTAINS: "contains"
|
||||
19 LIST_SUM: "sum"
|
||||
8 LIST_WALK_BACKWARDS: "walkBackwards"
|
||||
9 LIST_CONCAT: "concat"
|
||||
10 LIST_FIRST: "first"
|
||||
11 LIST_SINGLE: "single"
|
||||
12 LIST_REPEAT: "repeat"
|
||||
13 LIST_REVERSE: "reverse"
|
||||
14 LIST_PREPEND: "prepend"
|
||||
15 LIST_JOIN: "join"
|
||||
16 LIST_KEEP_IF: "keepIf"
|
||||
17 LIST_CONTAINS: "contains"
|
||||
18 LIST_SUM: "sum"
|
||||
19 LIST_WALK: "walk"
|
||||
}
|
||||
5 RESULT: "Result" => {
|
||||
0 RESULT_RESULT: "Result" imported // the Result.Result type alias
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue