Given a stream aStream, return its first element.
aStream
Raises an error in case of an empty list. Does not evaluate anything.
head is mostly an alias for car with error handling.
head
car
the list considered
Given a stream
aStream
, return its first element.Raises an error in case of an empty list. Does not evaluate anything.
head
is mostly an alias forcar
with error handling.