Next: , Up: descriptors compound   [Contents][Index]


4.3.1 Pair type descriptors

The following syntactic bindings are exported by the library (vicare system type-descriptors).

Record Type: <pair-type-descr>

Name of type descriptors for pairs of heterogeneous values. It has the following fields:

car-des

A type descriptor describing the type of the car.

cdr-des

A type descriptor describing the type of the cdr.

Function: make-pair-type-descr car-des cdr-des

Build and return a new instance of <pair-type-descr>.

Function: pair-type-descr? obj

Return #t if obj is an instance of <pair-type-descr>; otherwise return #f.

Function: pair-type-descr.car-des des
Function: pair-type-descr.cdr-des des

Accessors for the fields of <pair-type-descr> instances.