jan tolenaar / kiezellisp / index-of-everything

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.

make-html > (macroexpand '(parallel-list (inc 1) (inc 2) (inc 3)))
it: (do
      (future temp::temp-1 (inc 1))
      (future temp::temp-2 (inc 2))
      (future temp::temp-3 (inc 3))
      (list temp::temp-1 temp::temp-2 temp::temp-3))
make-html > (parallel-list (inc 1) (inc 2) (inc 3))
it: (2 3 4)