- (c-cons* X ... Y Z) → '(X ... Y . Z)syntax
Yields a list from consing all the arguments together in a chain. If the final argument Z is a list, the result will be a proper list. Otherwise it will be a "dotted list". Analogous to cons* from SRFI 1. Added in version 0.3.0.
(ck () (c-quote (c-cons* 'a 'b 'c 'd))) ;; ==> '(a b c . d) (ck () (c-quote (c-cons* 'a 'b 'c '(d)))) ;; ==> '(a b c d)