SRFI 222: Compound Objects

by John Cowan (text) and Arvydas Silanskas (implementation)

status: final (2021-07-20)

keywords: Data Structure


Compound objects are analogous to R6RS compound conditions, and are suitable for use in creating and handling conditions on non-R6RS systems, among other purposes. They encapsulate an immutable sequence of subobjects, which can be any object except another compound object. It is possible to implement R6RS compound conditions on top of compound objects, but not vice versa. Note that this SRFI does not provide any analogue to R6RS simple conditions, which are just records.