Next: , Up: built-in records   [Contents][Index]


6.21.1 The <record> type

Core Type: <record>
Parent Type: <struct>

Type of record objects.

Constructor on <record>: <record> type-constructor reco

Validate reco as record object and return it.

Type predicate on <record>: <boolean> type-predicate obj

The type predicate is record?.

Equality predicate on <record>: <boolean> equality-predicate this {reco <record>}

The equality predicate is record=?.

Hash function on <record>: <non-negative-fixnum> hash-function this

The hash function is record-hash.

Methods: comparison

Method on <record>: <boolean> = this {reco <record>} …

Apply record=? to the arguments and return its return value.

Method on <record>: <boolean> != this {reco <record>} …

Apply record!=? to the arguments and return its return value.

Methods: accessors and mutators

Method on <record>: <top> ref this {idx <non-negative-fixnum>}

Apply record-ref to the arguments and return its return value.

Method on <record>: () reset this

Apply record-reset! to the arguments and return its return value.