From: Christian Neukirchen Date: 2005-12-24T04:02:37+09:00 Subject: Re: Why not Python? (No, no, I am not a spy) Jeff Wood writes: > ... I believe the question was in regards to implementing factorial in a > tail-recursive manner. > > I believe the statement was: > > "I'm a complete newb to lisp, I've been reading Practical Common Lisp & On > Lisp. I've also been working through "The little schemer" and SICP... I'm > running CMUCL under SLIME & Emacs (v21.4). ( phew ) ... I've written an > iterative & a normally recursive version of factorial ... Now I'm trying to > figure out how to implement it in a tail-recursive fashion ... can anybody > help me write a tail-recursive version ?? I'm not familiar with the call > pattern yet." ... I see, the iterative version at http://mitpress.mit.edu/sicp/full-text/book/book-Z-H-21.html#%_thm_3.9 actually is the tail-recursive version. :-) They could have told you that, of course. > or something like that ... > > Jeff Wood -- Christian Neukirchen http://chneukirchen.org