OK Dave I think Im almost there . I passed 10 to a and returned 15 and its all making sense. At the moment Im using GNU CLISP 2.49 on win7 system, is there anywhere i can get list of keystrokes ie how can you delete or would you recommend another a program
Many thanks to all
Search found 3 matches
- Sat Nov 20, 2010 8:45 pm
- Forum: Common Lisp
- Topic: Land of Lisp recursion understanding problem
- Replies: 7
- Views: 12302
- Sat Nov 20, 2010 6:44 pm
- Forum: Common Lisp
- Topic: Land of Lisp recursion understanding problem
- Replies: 7
- Views: 12302
Re: Land of Lisp recursion understanding problem
Thanks Paul and Ramareen, I am just about to turn 59 and decided to try and reacticate a few neurons. I have in the past programmed in Basic VB Pascal C C++ Cobol and PHP. Of course I had of lisp a long time ago but never thougfht one way or another about it. Only recently while do some work on E-He...
- Fri Nov 19, 2010 7:53 pm
- Forum: Common Lisp
- Topic: Land of Lisp recursion understanding problem
- Replies: 7
- Views: 12302
Land of Lisp recursion understanding problem
Hi Im new to LISP and am using CLISP on win 7.And trying to kearn from "The Land of Lisp" What Im having a problem with is this (labels ( (a (n) (+ n 5)) (b (n) ( + (a n) 6))) (b 10)) giving the answer 21. Is "a" in this case a function that just adds 5 . when passing 10 into fun...