mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 16:21:11 +00:00
Add List.takeFisrt2, List.takeLast2 for demo
This commit is contained in:
parent
ac733b1805
commit
d63849c5a3
5 changed files with 265 additions and 0 deletions
|
@ -1071,6 +1071,10 @@ define_builtins! {
|
|||
47 LIST_FIND: "find"
|
||||
48 LIST_FIND_RESULT: "#find_result" // symbol used in the definition of List.find
|
||||
49 LIST_SUBLIST: "sublist"
|
||||
50 LIST_TAKE_FIRST_2: "takeFirst2"
|
||||
51 LIST_TAKE_LAST_2: "takeLast2"
|
||||
52 LIST_TAKE_2_TEMP: "#take2"
|
||||
53 LIST_TAKE_3_TEMP: "#take3"
|
||||
}
|
||||
5 RESULT: "Result" => {
|
||||
0 RESULT_RESULT: "Result" imported // the Result.Result type alias
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue