2.9 (aux record)

Operating on SRFI-9 records.

2.9.1 Procedures

Procedure: get-field field record

Return the value of field in the given record.

field (symbol): The name of the field.

record (SRFI-9 record): An instance of any SRFI-9 record type.

Return value (anything) Any value of the same type accepted by field.

Procedure: newer? record-a record-b

Return true if record-a’s date is more recent than record-b’s.

Both record-a and record-b are SRFI-9 records. They may have different types, but both must have a field called date whose value is an SRFI-19 date.

Return value (boolean): True if record-a is newer than record-b. Otherwise, false.