pmt: Pairs

pmt.is_pair(swig_int_ptr obj) → bool

Return true if is a pair, else false.

pmt.cons(swig_int_ptr x, swig_int_ptr y) → swig_int_ptr

Return a newly allocated pair whose car is and whose cdr is .

pmt.car(swig_int_ptr pair) → swig_int_ptr

If is a pair, return the car of the , otherwise raise wrong_type.

pmt.cdr(swig_int_ptr pair) → swig_int_ptr

If is a pair, return the cdr of the , otherwise raise wrong_type.

pmt.set_car(swig_int_ptr pair, swig_int_ptr value)

Stores in the car field of .

pmt.set_cdr(swig_int_ptr pair, swig_int_ptr value)

Stores in the cdr field of .

pmt.caar(swig_int_ptr pair) → swig_int_ptr
pmt.cadddr(swig_int_ptr pair) → swig_int_ptr
pmt.caddr(swig_int_ptr pair) → swig_int_ptr
pmt.cadr(swig_int_ptr pair) → swig_int_ptr
pmt.cdar(swig_int_ptr pair) → swig_int_ptr
pmt.cddr(swig_int_ptr pair) → swig_int_ptr

Previous topic

pmt: Lists

Next topic

pmt: Symbols

This Page