map

map(a_script)

Perform do handler of given script object with passing pair lists of each key and value as a argument. A XList consisting of the results of do handler is returned.

a_script must have a do handler which require only argument.

Parameters
Result

script object : a XList instance