chickadee » ck-macros » c-branch

(c-branch '((OP ...) ...) X ...) → '(result ...)syntax

Yields a list of the results of calling each operation with the Xs. Added in version 0.3.0.

(ck () (c-quote
        (c-branch '((c-list)
                    (c-cons)
                    (c-* '10))
                  '3 '5)))
;; '((3 5)
;;   (3 . 5)
;;   150)