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


4.3.3 List type descriptors

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

Record Type: <list-type-descr>

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

item-des*

A list of type descriptors describing the types of the items.

Function: make-list-type-descr des-list

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

Function: list-type-descr? obj

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

Function: list-type-descr.item-des* des

Accessor for the field of <list-type-descr> instances.

Function: list-type-descr.length des

Return the length of the list, a non–negative exact integer.