mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 14:54:47 +00:00
List prepend implementation with tests, and a few small code clarity changes to list_push implementation
This commit is contained in:
parent
fc52bdc59a
commit
68b13d29fd
7 changed files with 214 additions and 10 deletions
|
@ -659,6 +659,7 @@ define_builtins! {
|
|||
13 LIST_REPEAT: "repeat"
|
||||
14 LIST_REVERSE: "reverse"
|
||||
15 LIST_APPEND: "append"
|
||||
16 LIST_PREPEND: "prepend"
|
||||
}
|
||||
5 RESULT: "Result" => {
|
||||
0 RESULT_RESULT: "Result" imported // the Result.Result type alias
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue