⇑
← Lists
listLength
Package | bios |
Source file | bios._util.mcy |
Nature | Function |
Type | fun list a1 -> Int |
Usage
listLength
Type | ||
---|---|---|
list a1 | A list | |
Int | The length of the list |
Description
This function returns the number of elements in the list, or 0 if is empty.
> listLength 1:2:3:nil
-> Int: 3 (0x3)
On the same topic
- arrayFromList
- conc
- doubleListCompress
- filter
- find
- hd
- inList
- insert
- list
- listGet
- listLast
- listMatchHead
- map
- reduce
- remove
- reverse
- test
- tl
- tripleListCompress
- visit