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 > (macroexpand '(parallel-list (inc 1) (inc 2) (inc 3)))
it: (do
        (future temp:temp-84 (inc 1))
        (future temp:temp-85 (inc 2))
        (future temp:temp-86 (inc 3))
        (list temp:temp-84 temp:temp-85 temp:temp-86))
user > (parallel-list (inc 1) (inc 2) (inc 3))
it: (2 3 4)