随笔分类 -  lisp

摘要:14 Macrostoolkit: ppmx14.4 defining a macro14.5 macros as syntactic extensions14.6 backquote14.7 splicing with backquote设计宏14.8 complier14.9 compilati... 阅读全文
posted @ 2015-06-10 08:12 Jolin123 阅读(1457) 评论(0) 推荐(0)
摘要:lisp_chapter1313 Arrays, Hash Tables, and Proterty Lists13.2 array13.5 make-array13.6 string as vectors13.7 hash tables13.8 priority listlisp toolkit:... 阅读全文
posted @ 2015-06-01 21:38 Jolin123 阅读(402) 评论(0) 推荐(0)
摘要:12 Structure and The Type Syetem12.2 typep, type-of12.3 defining structures12.5 accessing, modifying structs12.6 kwargs to constructor functions12.7 修... 阅读全文
posted @ 2015-05-26 19:15 Jolin123 阅读(504) 评论(0) 推荐(0)
摘要:11 Iteration and Block Structure11.2 dotimes and dolist11.4 recursive, iterative11.6 比较dolist, mapcar, recursion11.7 DO macro11.8 隐式赋值的好处11.9 do*11.11... 阅读全文
posted @ 2015-05-24 11:37 Jolin123 阅读(720) 评论(0) 推荐(0)
摘要:10 Assignment10.3 stereotypical updating methodsINCF and DECF macrosPUSH and POP macros10.4 WHEN and UNLESS10.5 generalized vars10.6 tic-tac-toe10.7 l... 阅读全文
posted @ 2015-05-21 20:48 Jolin123 阅读(429) 评论(0) 推荐(0)
摘要:9 Input/Output9.2 string9.3 format9.4 read9.5 yes-or-no-p9.6 with-open-file9.7 writing files with with-open-file9.8 parameters to format directives9.9... 阅读全文
posted @ 2015-05-12 21:39 Jolin123 阅读(420) 评论(0) 推荐(0)
摘要:8 Recursion8.11 recursive templates8.12 variations on the basic templates8.13 trees and car/cdr recursion8.14 helping functions8.16 tail recursion8.18... 阅读全文
posted @ 2015-05-10 00:49 Jolin123 阅读(444) 评论(0) 推荐(0)
摘要:7 Applicative Programming7.2 funcall7.3 mapcar7.4 manipulating tables with mapcar7.5 lambda expressions7.6 find-if7.7 my-assoc7.8 remove-if, remove-if... 阅读全文
posted @ 2015-05-07 10:08 Jolin123 阅读(458) 评论(0) 推荐(0)
摘要:6 list data structure 首先注意cons的用法 (cons 'w '(x y z)) -> (w x y z)但是想在list的结尾添加一个元素就不能这样实现,eg,(cons '(w x y) 'z) -> ((w x y) . z)6.3 the APPEND functio... 阅读全文
posted @ 2015-05-04 22:02 Jolin123 阅读(954) 评论(0) 推荐(0)