Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - AlexPeake

#1
newLISP in the real world / Tail Recursion
December 11, 2003, 03:55:23 PM
Thanks for the "work-around".



Kind of misses the point of using Lisp/Scheme?
#2
newLISP in the real world / NewLisp not Tail Recursive?
December 10, 2003, 07:38:26 PM
I Try:



(define (fact x ans)

  (if (< x 1)

   ans

   (fact (- x 1) (* x ans))))



Which is Tail Recursive and yet I still get stack overflow??