随笔分类 - 技术-Lisp
摘要:如zerop // 判断参数是否为0的函数listp // 判断参数是否是列表的函数p 是 predicate 的缩写predicate['predɪkət]vi. 断言In the jargon used by the early Lisp researchers, a predicate ref...
阅读全文
摘要:First it looks to see whether there is a quote before the list; if there is, the interpreter just gives us the list.On the other hand, if there is no ...
阅读全文
摘要:如下图示:析:1)当执行(this list look like this)时,由GNU Emacs debugger弹出错误提示,其中(void-function this)产生是由于,当左括号前没有单引号时,emacs解释器认为括号内第一个元素是函数名,而this实际是一个未定义的函数2)其中e...
阅读全文
摘要:1、通常我们在使用emacs学习elisp时,先打开一个测试用的文件如lisp.el,这时emacs会自动切换成Emacs-lisp模式如下:在这个lisp.el中输入我们想要学习的各种语法即可。2、列表与函数的区别在官方手册里有如下内容:The single apostrophe, ', that...
阅读全文
摘要:Re: Generators (iterators) for Gnu EmacsFrom:Richard StallmanSubject:Re: Generators (iterators) for Gnu EmacsDate:Mon, 08 Dec 2014 15:59:22 -0500[[[ T...
阅读全文

浙公网安备 33010602011771号