CoCoA:Head

From ApCoCoAWiki

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>