With today's nightly the following things have changed to the List builtins:
List.dropFirst now takes an extra argument with the number of elements to drop from the front.List.dropLast now takes an extra argument with the number of elements to drop from the back.List.drop has been renamed to List.dropFirstSo, to update your roc code:
List.dropFirst myList with List.dropFirst myList 1|> List.dropFirst with |> List.dropFirst 1List.dropLast myList with List.dropLast myList 1|> List.dropLast with |> List.dropLast 1List.drop with List.dropFirst Last updated: Nov 28 2025 at 12:16 UTC