Search found 2 matches
- Wed Dec 14, 2011 1:01 am
- Forum: Common Lisp
- Topic: Recursive Version of let?
- Replies: 5
- Views: 9943
Re: Recursive Version of let?
Thanks to Ramarren and smithzv for the pointer to let* and the clarification on recursion. I genuinely appreciate it. One more thing: assuming my (admittedly amateur) problem should ever occur, which of the two examples would be better coding practice (using let* instead of let in the second, of cou...
- Tue Dec 13, 2011 8:07 pm
- Forum: Common Lisp
- Topic: Recursive Version of let?
- Replies: 5
- Views: 9943
Recursive Version of let?
Hello, Is there a recursive version of let? For example, I know two variables can be declared this way: (let ((a 1) (b 2)) (+ a b)) ...but I would like to do something like this: (let ((a 1) (b (+ a 1))) (+ a b)) So, is there something similar to let that works recursively, i.e. labels vs. flet? Tha...