chickadee » srfi-116 » ipair

ipair a dprocedure

The primitive constructor. Returns a newly allocated ipair whose icar is a and whose icdr is d. The ipair is guaranteed to be different (in the sense of eqv?) from every existing object.

(ipair 'a '())            ;=> (a)
(ipair (iq a) (iq b c d)) ;=> ((a) b c d)
(ipair "a" (iq b c))      ;=> ("a" b c)
(ipair 'a 3)              ;=> (a . 3)
(ipair (iq a b) 'c)       ;=> ((a b ) . c)