extract a slice from a list
(list xs, long start, long end) -> list
Returns a sublist of
xs starting at index
start inclusively, and extending to index
end exclusively. If
nil, the sublist extends to the end of
Returns an empty list if
start is greater than the last index in
xs. Returns an empty list if
start >= end.
Throws an error if
start < 0.
|list||The list to work with|
|long||Extracted sublist starts at this index|
Extracted sublist extends to - but does not include - this index.
If set to