Given a list aList, return its first element.
aList
Raises an error in case of an empty list.
head is mostly an alias for car with error handling.
head
car
the list considered
Error - if the list is empty
Given a list
aList
, return its first element.Raises an error in case of an empty list.
head
is mostly an alias forcar
with error handling.