Created
December 3, 2016 02:22
-
-
Save zhouqiang-cl/14c3259140f6d5b92b88e4fc526b1703 to your computer and use it in GitHub Desktop.
common lisp 的函数 COPY-SEQ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
语法 | |
copy-seq sequence => copied-sequence | |
参数和值 | |
sequence --- 一个属性列表 | |
copied-sequence --- 一个属性列表 | |
描述 | |
拷贝一个属性列表, 拷贝后的属性列表和之前的属性列表内容一致 | |
代码 | |
* (setq str "a string") | |
"a string" | |
* (equalp str (copy-seq str)) | |
T | |
* (equal str (copy-seq str)) | |
T | |
* (eql str (copy-seq str)) | |
NIL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment