Name

deftype

Usage

macro

Syntax

(deftype name type)

Description

Gives the name name to the prototype or System.Type type. The symbol name may now be used by the function type? and by the special form defmethod.

user 1 > (deftype a (new :name "mies"))
it: #s(a :name "mies" )

See also

defmethod defmulti set-find-type type?