⇑
← Lists
hd
Package | bios |
Source file | (native) |
Nature | Function |
Type | fun list a1 -> a1 |
Usage
hd
Type | ||
---|---|---|
list a1 | A list | |
a1 | The first element of the list |
Description
This function returns the first element of the list , or nil if is empty.
Seen in
On the same topic
- arrayFromList
- conc
- doubleListCompress
- filter
- find
- inList
- insert
- list
- listGet
- listLast
- listLength
- listMatchHead
- map
- reduce
- remove
- reverse
- test
- tl
- tripleListCompress
- visit