6.1.4 Getting the first element of a sequence or list
The
head
command finds the first element of a sequence or list.
head
takes
S
, a sequence or list.
head(
S
)
returns the first element of
S
.
Examples
head
(
A
,
B
,
C
,
D
)
A
head
([0,1,2,3])
0