on-lisp Questions
1
Solved
In On Lisp, p. 267, Paul Graham provides an implementation of continuation passing macros:
(setq *cont* #'identity)
(defmacro =lambda (parms &body body)
`#'(lambda (*cont* ,@parms) ,@body))
...
Piccoloist asked 13/7, 2014 at 10:24
1
Solved
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 behaves in the future: won't the returned list b...
Zucker asked 11/4, 2014 at 2:7
3
Solved
I'm working my way through Graham's book "On Lisp" and can't understand the following example at page 37:
If we define exclaim so that its return value
incorporates a quoted list,
(defun exclaim ...
Cattery asked 23/10, 2010 at 8:28
1
© 2022 - 2024 — McMap. All rights reserved.