Re: begin oddities

2008-09-24 Thread Marijn Schouten (hkBst)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bill Schottstaedt wrote: > Is this a bug? > > guile> (begin (define x 0) (+ x 1)) > 1 > > guile> (lambda () (begin (define x 0) (+ x 1))) > # > > guile> (let ((f (lambda () (begin (define x 0) (+ x 1) (f)) Weird thing is it seems to have no pro

begin oddities

2008-09-24 Thread Bill Schottstaedt
Is this a bug? guile> (begin (define x 0) (+ x 1)) 1 guile> (lambda () (begin (define x 0) (+ x 1))) # guile> (let ((f (lambda () (begin (define x 0) (+ x 1) (f)) Backtrace: In standard input: 3: 0* (let* ((f (lambda () #))) (f)) 3: 1 [#] standard input:3:53: In procedure memoizatio