Skip to content

Instantly share code, notes, and snippets.

@zhouqiang-cl
Created December 4, 2016 11:29
Show Gist options
  • Save zhouqiang-cl/e509da2d7e93151455e661775a1862f9 to your computer and use it in GitHub Desktop.
Save zhouqiang-cl/e509da2d7e93151455e661775a1862f9 to your computer and use it in GitHub Desktop.
common lisp 的变量 +, ++, +++
描述
+ --- 前一条被求值 form
++ --- + 之前的一条被求值的 form, 即倒数第二条被求值的 form
+++ --- ++ 之前的一条被求值的 form, 即倒数第三条被求值的 form
代码
* (print 1)
1
1
* (print 2)
2
2
* (print 3)
3
3
* +++
(PRINT 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment