All Manuals > LispWorks User Guide and Reference Manual > 44 The MP Package

NextPrevUpTopContentsIndex

map-all-processes

Function
Summary

Calls a predicate function on processes in turn until a true value is returned.

Package

mp

Signature

map-all-processes function => result

Arguments

function

A function taking one argument

Values

result

A process or nil.

Description

The function map-all-processes calls function on processes..

function is passed each process in turn as its single argument.

For a process argument p, if function returns nil then map-processes continues by calling function on the next process, but if function returns true then map-processes returns p immediately and stops calling function (so function may not get called on all processes).

See also

map-processes


LispWorks User Guide and Reference Manual - 13 Feb 2015

NextPrevUpTopContentsIndex