Previous: syslib structs safe final, Up: syslib structs safe [Index]
When no std argument is given: return true if stru is a data structure. When std is given: return true if stru is a data structure and it is of type std, which must be a struct type descriptor.
Return #t
if stru is a struct with struct–type descriptor
equal to std; otherwise return #f
. Raise an error if
std is not a struct–type descriptor.
Return the struct–type descriptor of the data structure stru. Notice that this function works with both Vicare’s structs and R6RS records.
Return the number of fields in the data structure stru. Notice that this function works with both Vicare’s structs and R6RS records.
Return a list of symbols representing the field names of the structure stru.
Return a string representing the name of the data structure stru. Notice that this function works with both Vicare’s structs and R6RS records.
Return #f
or the procedure being the printer function for the data
structure stru.
Return #f
or the procedure being the destructor function for the
data structure stru.
Return the value of field at index in the data structure stru.
Store value in the field at index in the data structure stru.
Check that stru is a struct of type std, then return the value of field at index in the data structure stru.
Check that stru is a struct of type std, store value in the field at index in the data structure stru.
All the arguments must be structs. Return #t
if all the arguments
have the same RTD and equal field values according to eqv?
.
When applied to a single argument: return #t
. Note that this
function also works when applied to R6RS records.
All the arguments must be structs. Return #t
if the arguments are
all different: no two arguments are equal; otherwise return #f
.
When applied to a single argument: return #f
.
Reset to void all the fields of a structure.
Previous: syslib structs safe final, Up: syslib structs safe [Index]