Skip to content

Instantly share code, notes, and snippets.

@zhouqiang-cl
Created December 3, 2016 02:22
Show Gist options
  • Save zhouqiang-cl/14c3259140f6d5b92b88e4fc526b1703 to your computer and use it in GitHub Desktop.
Save zhouqiang-cl/14c3259140f6d5b92b88e4fc526b1703 to your computer and use it in GitHub Desktop.
common lisp 的函数 COPY-SEQ
语法
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