Difference between revisions of "CoCoA:WithoutNth"
From ApCoCoAWiki
(pushing XML rev. 1.46, again) |
(No difference)
|
Latest revision as of 10:02, 24 October 2007
WithoutNth
removes the N-th component from a list
Description
This function returns the list obtained by removing the N-th
component of the list L. The list L is not affected (as opposed to
the command <ttref>Remove</ttref>).
Example
L := [1,2,3,4,5]; WithoutNth(L,3); [1, 2, 4, 5] -------------------------------
Syntax
WithoutNth(L:LIST,N:INT):LIST
<type>list</type>