define-class

Name

define-class -- Defines a new class

Type: special

Synopsis

define-class( name superclass class-opt slot-spec);

Arguments

name

The name of the class being defined

superclass

The parent class

class-opt

A class option

slot-spec

A slot specification

Description

This special form defines a new, immutable top-level variable with the given name, whose value is the class object described by the superclass, class options, slot specifications.