Next: built-in pairs weak, Up: built-in pairs [Contents][Index]
Type of pair objects.
<pair>
: <pair> type-constructor A DThe constructor is cons
. Return a new pair having A and
D as car and cdr.
<pair>
: <boolean> type-predicate objThe type predicate is pair?
. Return #t
if obj is a
pair object; otherwise return #f
.
<pair>
: <boolean> equality-predicate this {P <pair>}The equality predicate is equal?
.
<pair>
: <non-negative-fixnum> hash-function thisThe hash function is pair-hash
.
<pair>
: <top> car thisApply car
to the type instance.
<pair>
: <top> cdr thisApply cdr
to the type instance.