[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

default stack size

From: barney toma
Subject: default stack size
Date: Fri, 5 Sep 2003 17:40:24 -0700
User-agent: KMail/1.4.3

From:  Barney Toma
To:     guile-user mailing list

I receive a stack overflow error when creating a list of 500 entries.

(define (rep n)          ;(rep n) ==> (n n-1 n-2  ... 1)
    (cond ((= n 0) '())
          (t (cons n (rep (- n 1) )))))
(rep 500)

I believe the default stacksize is larger than this.  
So I'm wondering if this indicates some abnormal condition such as a possible 
hardware problem.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]