Difference between revisions of "CoCoA:Head"

From ApCoCoAWiki
(pushing XML rev. 1.46, again)
 
(No difference)

Latest revision as of 10:02, 24 October 2007

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>