status: draft (2026-08-11)
keywords: Introspection
See also SRFI 69: Basic hash tables, SRFI 99: ERR5RS Records, SRFI 102: Procedure Arity Inspection, and SRFI 191: Procedure Arity Inspection. Interactive REPL-driven systems (that most Schemes are) need a way to get detailed information on a given piece of data. Inspectors, as these are conventionally called. This SRFI defines a basic protocol for inspectors, consisting of two procedures: inspect-properties and inspect-describe. Some suggestions for standard and popular types’ inspection are also provided.