SRFI 256: Minimal extension to SRFI 9/R7RS small record type definitions for inheritance

by Daphne Preston-Kendal

status: draft (2024-11-20)

keywords: Data Structure

See also SRFI 9: Defining Record Types, SRFI 99: ERR5RS Records, and SRFI 237: R6RS Records (refined).

Abstract

A SRFI 9-style define-record-type is specified which allows subtyping while preserving encapsulation, in that the field structure of supertypes remains an implementation detail with which subtypes need not concern themselves.