Next: iklib records hash, Previous: iklib records equality, Up: iklib records [Index]
A record–type’s comparison procedure is a function accepting as
arguments two instances of a record–type; the return value is:
-1
, 0
, or +1
if the first object precedes the
second, is equal to the second, or follows the second, respectively.
Select the procedure compar-proc as comparison procedure for
records of type rtd; if compar-proc is #f
, instances
of type rtd make use of the built–in Scheme objects comparison
procedure.
Return the function set as custom comparison procedure for records of
type rtd; return #f
if rtd has no custom comparison
procedure.
Return #f
or the function being the custom comparison procedure
for the record record.