CoCoA:Tail

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)

Tail

remove the first element of a list

Description

This function returns the list obtained from L by removing its first

element. It cannot be applied to the empty list.

Example

  Tail([1,2,3]);
[2, 3]
-------------------------------

Syntax

Tail(L:LIST):OBJECT

First

Head

Last

   <type>list</type>