GNU Info

Info Node: (guile.info)Pairs

(guile.info)Pairs


Next: Lists Prev: Keywords Up: Data Types
Enter node , (file) or (file)node

Pairs
=====

 - primitive: cons x y
     Returns a newly allocated pair whose car is X and whose cdr is Y.
     The pair is guaranteed to be different (in the sense of `eqv?')
     from every previously existing object.

 - primitive: pair? x
     Returns `#t' if X is a pair; otherwise returns `#f'.

 - primitive: set-car! pair value
     Stores VALUE in the car field of PAIR.  The value returned by
     `set-car!' is unspecified.

 - primitive: set-cdr! pair value
     Stores VALUE in the cdr field of PAIR.  The value returned by
     `set-cdr!' is unspecified.


automatically generated by info2www version 1.2.2.9