摘要:
0.A file is either (1) empty, or(2) a line followed by a file. so, when we need computation, first build a data structure, then write a *recurisive*procedure to manuiplate. 1. Randell:do it recursiv... 阅读全文
2006年7月3日 #
摘要:
% member member1(X, [X | Y]). member1(X, [_ | B]) :- member(X, B). % append(list1, list2, result) append1([], L2, L2). append1([A | B], L2, [A | C]) :- append(B, L2, C). % revert(L1, L2) revert(List,R... 阅读全文
摘要:
The other images which are commonly found in an Allegro CL installation are: mlisp Modern base Lisp image, international (16-bit characters) alisp ANSI base Lisp image, international (16-bit charact... 阅读全文
摘要:
Roughly speaking, an S-expression is a parenthesized collection of information. The atomic pieces of information are numbers, symbols, and strings. Placing a pair of parentheses around any number of S... 阅读全文
2006年6月24日 #
摘要:
LISP is a computer language that is unique in that it is based on an algebraic structure, the lambda calculus, from pure mathematics. In its purest form, [1] there is no distinction between data and p... 阅读全文