Previous: defstruct, Up: Structures


copy-structure (Function)

Syntax:
— Function: copy-structure structure copy
Arguments and Values:

structure—a structure.

copy—a copy of the structure.

Description:

Returns a copy6 of the structure.

Only the structure itself is copied; not the values of the slots.

See Also:

the :copier option to defstruct

Notes:

The copy is the same as the given structure under equalp, but not under equal.