I'm going through Paul Graham's On Lisp, and trying to implement the functions in Emacs Lisp. One of them is flatten : (flatten '(a (b c) ((d e) f))) ...
I'm going through Paul Graham's On Lisp, and trying to implement the functions in Emacs Lisp. One of them is flatten : (flatten '(a (b c) ((d e) f))) ...
In On Lisp (p. 84) Graham says ‘(a b c) (without comma) is equal to ’(a b c) and then says A backquoted list is equivalent to a call to l ...
While reading Paul Graham's On Lisp I found the following function in Chapter 4, Utility Functions. I would like to understand what is the differen ...
I just want to add the capability to handle lisp query into the initial Prolog implementation in OnLisp text. Since this capability is introduced in t ...
I am still interested in the question which has been answered. continuation in common lisp by macros — regarding an implemetation in OnLisp What wi ...
I was reading the book On Lisp by Paul Graham. In Chapter 4, Utility Functions, he gives examples of small functions that operate on lists, which woul ...
There is a piece of pseudo code of a breadth first search on P.303 of OnLisp which is show below. For the graph below, it will first process node 1, a ...
Paul Graham's 'On Lisp' errata page states: p. 23. our-find-if would recurse infinitely if no element matches. Caught by Markus Triska. The fun ...
In On Lisp, p. 267, Paul Graham provides an implementation of continuation passing macros: The following code to traverse a tree t2 for each leaf o ...
I am reading On Lisp and cannot make out why the code below has use a quote. Here is the excerpt from the text: Another character combination rese ...
This passage from On Lisp is genuinely confusing -- it is not clear how returning a quoted list such as '(oh my) can actually alter how the function b ...
I'm working my way through Graham's book "On Lisp" and can't understand the following example at page 37: Does anyone understand what's going on he ...