Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Group info
Language: English
Group categories: Not categorized
More group info »
Discussions
View:  Topic list, Topic summary « Newer  Topics 21 - 30 of 137  Older »

You cannot post messages because only members can post, and you are not currently a member.
Description: This forum is designed to help folks who have questions or run into issues working through the book "Land of Lisp" by Conrad Barski.
 

Chapter 7 page 111 Using setf to put extra stuff into first parameter to build circular list 
  Hi, I'm hoping someone will help me to understand the example on page 111. Here's the code and REPL feedback: ...FOO ...I'm afraid that there is more than one thing that I don't understand. When I look at it, I review in my mind that defparameter defines global variables. Global variables should have earmuffs *globvar* but don't have... more »
By farmkitteh  - Jul 1 2012 - 7 new of 7 messages    

set-macro-character function 
  Is it possible to write a set-macro-character function which takes the previous and the next characters as one of its arguments? I want to mimic the behavior of the '. character, which is a non terminating character when the characters right before and after it are digits (e.g. 12.34) and a terminating character otherwise (e.g. a.b).... more »
By prog1  - Jul 1 2012 - 1 new of 1 message    

set-macro-character function 
  Is it possible to write a set-macro-character function which takes the previous and the next characters as one of its arguments? I want to mimic the behavior of the '. character, which is a non terminating character when the characters right before and after it are digits (e.g. 12.34) and a terminating character otherwise (e.g. a.b).... more »
By prog1  - Jul 1 2012 - 1 new of 1 message    

Digest for land-of-lisp@googlegroups.com - 1 Message in 1 Topic 
 
By Andrew M. Kelly  - Jun 20 2012 - 1 new of 1 message    

question about Chapter 4 Land of Lisp p.51 
  Hello, I'm working my way through this wonderful book and I hope that someone can explain the function at the top of page 51 in more detail. I don't understand what is happening with this part: (1+ (my-length (cdr list))) 0)) How is this chomping off each bit until the list is empty? How do the 1+... more »
By farmkitteh  - Jun 15 2012 - 4 new of 4 messages    

Neighbors (Chapter 15) 
  I was having trouble understanding the code for neighbors on page 314, so I worked up an alternative implementation based on a columns and row view: (defun neighbors (pos) (let* ((s *board-size*) (r (truncate pos s)) (c (mod pos s)) (r+ (1+ r)) (r- (1- r)) (c+ (1+ c)) (c- (1- c)) (candidate-points (list (cons r- c-) (cons r- c)... more »
By Tom Koenig  - Jun 14 2012 - 1 new of 1 message    

with-open-file 
  Working through Chapter 12, I execute the example on page 242 (with-open-file (dada "ch12.txt") :direction :output (print "chapter 12 is in and out" dada)) I get the following error *** - OPEN: File #P"C:\\Program Files (x86)\\clisp-2.49\\ch12.txt" does not exist And no file is written. Same thing happens if I type the text exactly... more »
By tlkoenig@verizon.net  - Jun 11 2012 - 3 new of 3 messages    

Land of lisp and sbcl 
  I just finished reading Land of Lisp, which I enjoyed a lot. I used sbcl to run the code, so I had to modify a few functions in order to get everything working. I want to report these changes, in case somebody is interested in using sbcl instead of clisp. First make sure that the libraries asdf and usocket are loaded.... more »
By Harven  - Jun 6 2012 - 2 new of 2 messages    

Issue with Chapter 6 Wizards Game 
  This is seemingly identical to the source code from landoflisp.com for the wizards_game.lisp However, I continually get these errors when trying to input commands: [1]> (load "~/lisp/game.lisp") ...I figure there is something wrong with my *game-read *function. Cannot figure it out. Fairly frustrated.... more »
By Matt Emmonasd  - May 24 2012 - 5 new of 5 messages    

chapter 7 Land of lisp 
  Hello all, I have been working on the book Land of Lisp and running into some problems on chapter 7. After writing the following code: (defparameter *wizard-nodes* '((living-room (you are in the the living-room. a wizard is snoring loudly on the couch.)) (garden (you are in a beautiful garden. there is a well in front... more »
By Guillo  - May 15 2012 - 4 new of 4 messages    

21 - 30 of 137   « Newer | Older »

XML       Send email to this group: land-of-lisp@googlegroups.com