land-of-lisp Questions

3

Solved

So, I'm reading Land of Lisp now, and Lisp is turning out to be quite different than other programming languages that I've seen. Anyways, the book provides some code that we're meant to enter into...
Trapper asked 26/12, 2011 at 10:16

1

Solved

On page 329 of Land of Lisp, Conrad Barski explains the technique of memoization with the following example code (let ((old-neighbors (symbol-function 'neighbors)) (previous (make-hash-table))) ...
Torino asked 8/4, 2018 at 9:59

2

Solved

I'm a beginner programmer and am going through the book "Land of Lisp". I have been typing in the examples from the book with the REPL. Is it possible to save my current program as a .lisp file s...
Bogan asked 14/9, 2011 at 23:48

4

Solved

I am learning Lisp from the book "The Land of Lisp" by Conrad Barski. Now I have hit my first stumbling block, where the author says: Calling yourself in this way is not only allowed in Lisp, bu...
Consistent asked 7/3, 2013 at 10:50

3

Solved

In book 'land of lisp' I read Because the case command uses eq for comparisons, it is usually used only for branching on symbol values. It cannot be used to branch on string values, among othe...
Bucella asked 18/9, 2013 at 17:40

1

So I just got Land of Lisp and started to do the first program. I have a couple questions. Is there a way to just write some code and run it through a compiler, or interpreter, and not use the RE...
Knapsack asked 29/3, 2013 at 18:8

6

Solved

This piece of code is from book : "Land Of Lisp" First version is from book. When I read it, i thought there are parenthesis "(" not necessary just before "at-loc-p" at 2nd line and ")" just after ...
Hight asked 8/5, 2011 at 1:52

2

Solved

I'm trying to rewrite the Wizard game from "Land of Lisp" http://landoflisp.com/wizards_game.lisp (def *nodes* {:living-room "you are in the living-room. a wizard is snoring loudly on the couch." ...
Domoniquedomph asked 19/3, 2011 at 16:47

2

Solved

I'm working through the book Land of Lisp in F# (yeah weird, I know). For their first example text adventure, they make use of global variable mutation and I'd like to avoid it. My monad-fu is weak...

2

Solved

I've read a lot of good things about Land of Lisp so I thought that I might go through it to see what there was to see. (defun tweak-text (lst caps lit) (when lst (let ((item (car lst)) (rest (...
Packing asked 2/1, 2011 at 0:58

4

Solved

I'm reading Land of Lisp (which is by the way, one of the best technical books I have ever read) and I have come across the "association list": (defparameter *edges* '((living-room (gar...
Grande asked 11/11, 2010 at 13:2
1

© 2022 - 2024 — McMap. All rights reserved.