摘要:
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... 阅读全文
2006年4月17日 #
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 ... 阅读全文
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)... 阅读全文
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... 阅读全文
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... 阅读全文