Next: , Previous: Objects Dictionary, Up: Objects Dictionary


object
— Function: object &rest all-keys &key (parents (list =standard-object=))

properties &allow-other-keys => new-object

Arguments and Values:

all-keys — a list of keyword args.

parents — A list of objects.

new-object — a new object with parents as parents.

Description:

OBJECT creates a new object. with parents as its parents. Any non-sheeple objects in parents will be autoboxed and those objects will be added as parents. The new object's parents will be ordered as they are given, taking into account that parents that appear earlier in the list have higher precedence. Passing an empty parent list or failing to pass one will automatically set =STANDARD-OBJECT= as the new object's sole parent.

Examples:

     (object) => #<Object [=STANDARD-OBJECT=] #x30004166BF6D>
     (object-parents (object)) => (#<Object =STANDARD-OBJECT= #x3000414A317D>)
     (object :parents (list (object))) => #<Object [=STANDARD-OBJECT=] #x3000414EBBED>

Side Effects:

None