User Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

cl:functions:copy-structure [2019/07/14 17:00]
cl:functions:copy-structure [2019/09/16 13:00] (current)
Line 1: Line 1:
 +====== Function COPY-STRUCTURE ======
 +
 +====Syntax====
 +  * **copy-structure** //​structure//​ → //copy//
 +
 +====Arguments and Values====
 +  * //​structure//​ - a //​[[CL:​Glossary:​structure]]//​.
 +  * //copy// - a copy of the //​structure//​.
 +
 +====Description====
 +Returns a //​[[CL:​Glossary:​copy]]//​ of the //​structure//​.
 +
 +Only the //​structure//​ itself is copied; not the values of the slots.
 +
 +====Examples====
 +None.
 +
 +====Side Effects====
 +None.
 +
 +====Affected By====
 +None.
 +
 +====Exceptional Situations====
 +None.
 +
 +====See Also====
 +The **'':​copier''​** option to **[[CL:​Macros:​defstruct]]**.
 +
 +====Notes====
 +The //copy// is the //​[[CL:​Glossary:​same]]//​ as the given //​structure//​ under **[[CL:​Functions:​equalp]]**,​ but not under **[[CL:​Functions:​equal]]**.
 +
 +\issue{DEFSTRUCT-COPIER:​ARGUMENT-TYPE}