- (c-cons X Y) → '(X . Y)syntax
Yields a pair with the two given arguments. Analogous to cons.
(ck () (c-quote (c-cons 'a 'b))) ;; ==> '(a . b) (ck () (c-quote (c-cons '+ '(1 2)))) ;; ==> '(+ 1 2) (ck () (c-quote (c-cons '+ (c-cons '1 (c-cons '2 '()))))) ;; ==> '(+ 1 2)