Lisp

Programmer

博客园 首页 新随笔 联系 订阅 管理
上一页 1 ··· 5 6 7 8 9 10 下一页

2006年4月17日 #

摘要: source : Peter Norvig What Lessons are in PAIP? Here is my list of the 52 most important lessons in PAIP: Use anonymous functions. [p. 20] Create new functions (closures) at run time. [p. 22... 阅读全文
posted @ 2006-04-17 15:36 fei 阅读(232) 评论(0) 推荐(0) 编辑

2006年4月11日 #

摘要: this is adopted from Peter Norvig I just make a local copy here. Familiar and Unfamiliar Quotations About Life, The Universe, Computers, and Everything Life ... 阅读全文
posted @ 2006-04-11 09:08 fei 阅读(204) 评论(0) 推荐(0) 编辑

2006年4月5日 #

摘要: 1. OrthogonalityA orthogonal language is one in which you can express a lot by combining a small number of operators at a lot of different ways.2. Programming Language Features (from Peter Norvig):(1)... 阅读全文
posted @ 2006-04-05 13:44 fei 阅读(175) 评论(0) 推荐(0) 编辑

2006年4月3日 #

摘要: 1. Test For Existence foobar(elt, (x . y)) :- foo(elt, x). foobar(elt, (x . y)) :- foobar(elt, y).For example, the familiar function can be written a... 阅读全文
posted @ 2006-04-03 15:26 fei 阅读(205) 评论(0) 推荐(0) 编辑

2006年3月31日 #

摘要: (DEFUN PRINT-SQUARES (LIST) (DOLIST (ELEMENT LIST) (PRINT (LIST ELEMENT (EXPT ELEMENT 2))))) (DEFUN PRINT-SQUARES (LST) (DOLIST (ELEMENT LST) (PRINT (LIST ELEMENT (EXPT ELEMENT 2))))) Conslusions: T... 阅读全文
posted @ 2006-03-31 08:59 fei 阅读(566) 评论(0) 推荐(1) 编辑

上一页 1 ··· 5 6 7 8 9 10 下一页