take(L, i)
take(L, {j,k})
take(x, i)
|
|
|
|
The pair \{j,k\} must be given with both entries non-negative, and $j\le k$. Otherwise an empty list is returned.
|
|
If x is any object belonging to a class with the iterator method installed, then a list containing the first i objects returned when next is called on the output of iterator x
is returned. If fewer then i objects are returned before the StopIteration symbol is encountered, then the list will have length less than i.
|
|
The object take is a compiled function.