CoCoA:Append

From ApCoCoAWiki
Revision as of 10:02, 24 October 2007 by XMLBot (talk | contribs) (pushing XML rev. 1.46, again)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Append

append an object to an existing list

Description

This function appends the object E to the list V.

Example

  Use R ::= Q[t,x,y,z];
  L := [1,2,3];
  Append(L,4);
  L;
[1, 2, 3, 4]
-------------------------------

Syntax

Append(V:LIST, E:OBJECT):NULL

where V is a variable containing a list.

Concat

ConcatLists

Insert

Remove

   <type>list</type>