CoCoA:WithoutNth

From ApCoCoAWiki

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

Insert

Remove

   <type>list</type>