Re: stack overflow problem

2006-02-04 Thread Stephen Compall
On Sat, 2006-02-04 at 18:54 +0800, William Xu wrote: > (define (enumerate-interval low high) > "Return a sequence list by walking from LOW to HIGH. > e.g., > (enumerate-interval 1 10) > => (1 2 3 4 5 6 7 8 9 10)" > (if (> low high) > '() > (c

Using Guile in a wxWidgets app

2006-02-04 Thread John Steele Scott
I have written a small piece about embedding Guile in wxWidgets GUI program. You can read it at: Does anyone have any comments about it? In particular, I would appreciate feedback on the way I have wrapped the wxWidgets Mess

Re: stack overflow problem

2006-02-04 Thread Chusslove Illich
> [: William Xu :] > Might be a bug? (i also tested this on mzscheme, and works fine.) > > Guile version: 1.6.7, debian unstable. Same Debian, same Guile, same effect. I guess stack has to go at one point or another, and it is anyway a better idea to use tail recursion: (define (enumerate-interv

Re: uniform-array-read!

2006-02-04 Thread Marius Vollmer
Alan Bram <[EMAIL PROTECTED]> writes: > Gee, that's strange. When I try it, even with a larger size, it > still works fine for me. The problem is likely that uniform-array-read! will try to fill the whole array, if necessary by doing more than one call to read(2). The first call will not block

stack overflow problem

2006-02-04 Thread William Xu
[i wish i'm not resending this mail..] Hi, I define the following function, (define (enumerate-interval low high) "Return a sequence list by walking from LOW to HIGH. e.g., (enumerate-interval 1 10) => (1 2 3 4 5 6 7 8 9 10)" (if (> low high) '(

Re: Another load path idea

2006-02-04 Thread Neil Jerram
[EMAIL PROTECTED] (Ludovic Courtès) writes: > Hi, > > Kevin Ryde <[EMAIL PROTECTED]> writes: > >> [EMAIL PROTECTED] (Ludovic Courtès) writes: >>> >>> (i) a config file holding the default value of `%load-path', >> >> If you really want to add something, just load an /etc/guilerc at >> startup. > >

Re: uniform-array-read!

2006-02-04 Thread Alan Bram
> Alan Bram <[EMAIL PROTECTED]> writes: > > > Gee, that's strange. When I try it, even with a larger size, it > > still works fine for me. > > The problem is likely that uniform-array-read! will try to fill the > whole array, if necessary by doing more than one call to read(2). The > first call

stack overflow problem

2006-02-04 Thread William Xu
Hi, I define the following function, (define (enumerate-interval low high) "Return a sequence list by walking from LOW to HIGH. e.g., (enumerate-interval 1 10) => (1 2 3 4 5 6 7 8 9 10)" (if (> low high) '() (cons low (enumerate-interval

Re: uniform-array-read!

2006-02-04 Thread William Xu
Alan Bram <[EMAIL PROTECTED]> writes: > Gee, that's strange. When I try it, even with a larger size, it still > works fine for me. Hmm... well, it's 1.6.7 on Debian(unstable) ppc here. -- William ___ Guile-user mailing list Guile-user@gnu.org http: