make dropFirst and dropLast drop n elements

This commit is contained in:
Isaac Van Doren 2023-10-29 13:23:33 -05:00
parent cb6b36e218
commit 139d3c6f89
No known key found for this signature in database
GPG key ID: CFA524CD470E5B94
48 changed files with 3518 additions and 3470 deletions

View file

@ -1378,7 +1378,7 @@ define_builtins! {
26 LIST_WALK_UNTIL: "walkUntil"
27 LIST_RANGE: "range"
28 LIST_SORT_WITH: "sortWith"
29 LIST_DROP: "drop"
29 LIST_CHUNKS_OF: "chunksOf"
30 LIST_SWAP: "swap"
31 LIST_DROP_AT: "dropAt"
32 LIST_DROP_LAST: "dropLast"
@ -1433,7 +1433,6 @@ define_builtins! {
81 LIST_RELEASE_EXCESS_CAPACITY: "releaseExcessCapacity"
82 LIST_UPDATE: "update"
83 LIST_WALK_WITH_INDEX: "walkWithIndex"
84 LIST_CHUNKS_OF: "chunksOf"
}
7 RESULT: "Result" => {
0 RESULT_RESULT: "Result" exposed_type=true // the Result.Result type alias