CoCoA:Head

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)

Head

the first element of a list

Description

This function returns the first element of the list L.

Example

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

Syntax

Head(L:LIST):OBJECT

First

Last

Tail

   <type>list</type>