mirror of
https://github.com/roc-lang/roc.git
synced 2025-12-23 08:48:03 +00:00
219 B
219 B
META
description=List.sublist returns a continuous subsection of the original list
type=repl
SOURCE
» List.sublist([0, 1, 2, 3, 4, 5, 6], {start: 2, len: 3})
OUTPUT
[2, 3, 4]
PROBLEMS
NIL