Next: , Previous: , Up: syslib   [Index]


12.15 Low level recordure operations

The arguments reco to these operations must be references to records, the arguments rtd must be references to record–type descriptors, the arguments fx must be fixnums of appropriate value. The following bindings are exported by the library (vicare system $records).

Unsafe Operation: $record= reco1 reco2

Return #t if the arguments are equal field by field according to equal?; otherwise return #f.

Unsafe Operation: $record-rtd reco

Return a reference to the record type descriptor of reco.

Unsafe Operation: $record-ref reco fx

Return the value of the field at absolute index fx for the record reco.

Unsafe Operation: $record-and-rtd? reco rtd

Return #t if the record reco is of type rtd; otherwise return #f.

Unsafe Operation: $record-constructor rtd

Return the constructor function for records of type rtd.

Unsafe Operation: $record-destructor rtd

Return #f or the destructor function for records of type rtd.

Unsafe Operation: $record-printer reco

Return #f or the printer function for records of the same type of reco.

Unsafe Operation: $record-equality-predicate reco

Return #f or the equality predicate of records of the same type as reco.

Unsafe Operation: $record-comparison-procedure reco

Return #f or the comparison procedure of records of the same type as reco.

Unsafe Operation: $record-hash-function reco

Return #f or the hash function of records of the same type as reco.

Unsafe Operation: $record-method-retriever reco

Return #f or the method retriever procedure of records of the same type as reco.

Unsafe Operation: $record-type-destructor-set! rtd proc
Unsafe Operation: $record-type-destructor rtd

Setter and getter for destructor functions for records of type rtd.

Unsafe Operation: $record-type-printer-set! rtd proc
Unsafe Operation: $record-type-printer rtd

Setter and getter for printer functions for records of type rtd.

Unsafe Operation: $record-type-equality-predicate-set! rtd proc
Unsafe Operation: $record-type-equality-predicate rtd

Setter and getter for equality predicates for records of type rtd.

Unsafe Operation: $record-type-comparison-procedure-set! rtd proc
Unsafe Operation: $record-type-comparison-procedure rtda

Setter and getter for comparison procedures for records of type rtd.

Unsafe Operation: $record-type-hash-function-set! rtd proc
Unsafe Operation: $record-type-hash-function rtd

Setter and getter for hash functions for records of type rtd.

Unsafe Operation: $record-type-method-retriever-set! rtd proc
Unsafe Operation: $record-type-method-retriever rtd

Setter and getter for method retriever procedures for records of type rtd.


Next: , Previous: , Up: syslib   [Index]