ToC DocOverview CGDoc RelNotes Index PermutedIndex
Allegro CL
Home Previous Up Next Table of Contents Index
  ANSI Common Lisp   8 Structures   8.1 Dictionary of Structures

8.1.2 copy-structure Function

Syntax:
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.

Allegro CL Implementation Details:
None.


Home Previous Up Next Table of Contents Index
© Franz Inc. 1998-2017 - File last updated 01-11-2017