mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 07:14:46 +00:00
Upgrade to List.set_in_place when appropriate
This commit is contained in:
parent
bca43a2564
commit
db4ef45708
5 changed files with 63 additions and 17 deletions
|
@ -606,12 +606,13 @@ define_builtins! {
|
|||
2 LIST_ISEMPTY: "isEmpty"
|
||||
3 LIST_GET: "get"
|
||||
4 LIST_SET: "set"
|
||||
5 LIST_PUSH: "push"
|
||||
6 LIST_MAP: "map"
|
||||
7 LIST_LENGTH: "length"
|
||||
8 LIST_FOLDL: "foldl"
|
||||
9 LIST_FOLDR: "foldr"
|
||||
10 LIST_GET_UNSAFE: "getUnsafe" // TODO remove once we can code gen Result
|
||||
5 LIST_SET_IN_PLACE: "set_in_place"
|
||||
6 LIST_PUSH: "push"
|
||||
7 LIST_MAP: "map"
|
||||
8 LIST_LENGTH: "length"
|
||||
9 LIST_FOLDL: "foldl"
|
||||
10 LIST_FOLDR: "foldr"
|
||||
11 LIST_GET_UNSAFE: "getUnsafe" // TODO remove once we can code gen Result
|
||||
}
|
||||
7 RESULT: "Result" => {
|
||||
0 RESULT_RESULT: "Result" imported // the Result.Result type alias
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue