Name

parallel-list

Usage

macro

Syntax

(parallel-list &rest forms)

Description

Returns a list like the function list. Uses the Task Parallel Library. The example is not very instructive.

user 1 > (macroexpand '(parallel-list (inc 1) (inc 2) (inc 3)))
it: (do
        (future temp:temp-597 (inc 1))
        (future temp:temp-598 (inc 2))
        (future temp:temp-599 (inc 3))
        (list temp:temp-597 temp:temp-598 temp:temp-599))
user 2 > (parallel-list (inc 1) (inc 2) (inc 3))
it: (2 3 4)