mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 06:44:46 +00:00
make dropFirst and dropLast drop n elements
This commit is contained in:
parent
cb6b36e218
commit
139d3c6f89
48 changed files with 3518 additions and 3470 deletions
|
@ -2285,7 +2285,7 @@ fn anonymous_closure_in_polymorphic_expression_issue_4717() {
|
|||
if index == 0 then
|
||||
input
|
||||
else
|
||||
List.drop input index
|
||||
List.dropFirst input index
|
||||
|
||||
main = chompWhile [1u8, 2u8, 3u8]
|
||||
"###
|
||||
|
@ -2482,7 +2482,7 @@ fn weakening_avoids_overspecialization() {
|
|||
if index == 0 then
|
||||
input
|
||||
else
|
||||
List.drop input index
|
||||
List.dropFirst input index
|
||||
"###
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue