chickadee » prometheus » define-object

define-object name (parent other-parents ...) slots ...syntax

This is syntactic sugar for the typical actions of cloning an object from a parent object, and adding more slots.

other-parents is a list of (name object) lists, where each object is added as a parent slot named name.

slots is a list of slot specifications, either (getter value) or (getter setter value) for value slots, or ((name self resend args ...) body ...) for method slots.