| Overview | Module | Function | Class | Tea 3.2.4 Reference Documentation © 2009 PDM&FC |
map-apply aFunction aList
Repeatedly executes a function.
aFunction each time
it is called.
aFunction.
aFunction as many times as the number of elements
in aList. The elements of aList are lists.
Each time aFunction is called it will be passed as arguments
the elements of one of the lists contained in aList.
The map-apply function could be defined as follows:
define map-apply ( aFunction aList ) {
map [lambda (x) { apply $aFunction $x }] $aList
}
| Overview | Module | Function | Class | Tea 3.2.4 Reference Documentation © 2009 PDM&FC |