⇑
← Lists
map
Package | bios |
Source file | bios._util.mcy |
Nature | Function |
Type | fun list a1 (fun a1 -> a2) -> list a2 |
Usage
map
Type | ||
---|---|---|
list a1 | A list | |
fun a1 -> a2 | A function which is applied to the elements of the list and returns any element | |
list a2 | A list whose elements are the of the function on the elements of the list |
Description
This function converts the elements of the list , by applying to each of them.
When returns nil, the element is ignored.
On the same topic
- arrayFromList
- conc
- doubleListCompress
- filter
- find
- hd
- inList
- insert
- list
- listGet
- listLast
- listLength
- listMatchHead
- reduce
- remove
- reverse
- test
- tl
- tripleListCompress
- visit