lmj / lparallel

Parallelism for Common Lisp
http://lparallel.org
BSD 3-Clause "New" or "Revised" License
243 stars 29 forks source link

TASK-HANDLER-BIND does not accept compound type specifiers #34

Open scymtym opened 6 years ago

scymtym commented 6 years ago

The documentation string of task-handler-bind claims that it works like handler-bind but it actually only accepts symbols as condition type specifiers:

(lparallel:task-handler-bind (((and error (not undefined-function)) #'continue)) …)
=> Ill-formed binding in `task-handler-bind': ((AND ERROR (NOT UNDEFINED-FUNCTION)) #'CONTINUE)