Re: Elisp lexical-let

2009-07-22 Thread Daniel Kraft
Ken Raeburn wrote: On Jul 21, 2009, at 15:48, Daniel Kraft wrote: Especially, the question is about "what happens" when a lexical variable is inside its scope again bound dynamically (say via let or a lambda expression). Oh, don't stop there... let's get some buffer-local or frame-local bind

Segfault with do (Re: [CM] funny scheme code (fwd))

2009-07-22 Thread Kjetil S. Matheussen
On Mon, 20 Jul 2009, Kjetil S. Matheussen wrote: A slight modifications makes Guile (the one included with fedora 11) crash: [kje...@ttleon bin]$ guile guile> (let ((j (lambda () 0)) ... (k 0)) ... (do ((i (j) ... (j)) ...(l (lambda () ... 1) ...

Re: Segfault with do (Re: [CM] funny scheme code (fwd))

2009-07-22 Thread Ludovic Courtès
Hello Kjetil, "Kjetil S. Matheussen" writes: > Guile 1.8.0 segfaults as well. > > Here's the code ready for pasting: > > (let ((j (lambda () 0)) > (k 0)) > (do ((i (j) (j)) > (l (lambda () 1) (lambda () (+ i 1 > ((= i 3) k) > (set! k (+ k i > > Sorry fo

Re: Elisp lexical-let

2009-07-22 Thread Marijn Schouten (hkBst)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Daniel Kraft wrote: > Ken Raeburn wrote: >> On Jul 21, 2009, at 15:48, Daniel Kraft wrote: >>> Especially, the question is about "what happens" when a lexical >>> variable is inside its scope again bound dynamically (say via let or >>> a lambda express

Re: Segfault with do (Re: [CM] funny scheme code (fwd))

2009-07-22 Thread Kjetil S. Matheussen
Ludovic Court?s: Hello Kjetil, "Kjetil S. Matheussen" writes: Guile 1.8.0 segfaults as well. Here's the code ready for pasting: (let ((j (lambda () 0)) (k 0)) (do ((i (j) (j)) (l (lambda () 1) (lambda () (+ i 1 ((= i 3) k) (set! k (+ k i Sorry

Re: Elisp lexical-let

2009-07-22 Thread Daniel Kraft
Hi Marijn, Marijn Schouten (hkBst) wrote: Guile also has lexical and dynamic variables; the fluids[1]. Queinnec in his book LiSP also describes a system that has (default) lexical and dynamic variable, on page 44. In both cases to find the value of a non-default variable a function is used. Tran

Re: Elisp lexical-let

2009-07-22 Thread Ken Raeburn
On Jul 22, 2009, at 05:11, Daniel Kraft wrote: It seemed really hard to me to find at least *basic* information about how the lexbind things works; I did build now an emacs with lexbind from trunk, but so far as I see this is not meant to implement "lexical-let" as the cl package does, but r

Re: GNU Guile Hackers Meeting?

2009-07-22 Thread Ken Raeburn
On Jul 21, 2009, at 11:08, Julian Graham wrote: Are there any active Guile hackers in Cambridge, MA? That could be a better choice for a US location. Define "active". :-) Not so much on Guile itself, but my Guile-Emacs project is coming along... Ken

Re: review/merge request: wip-array-refactor

2009-07-22 Thread Neil Jerram
Andy Wingo writes: > Hi all, > > I've finished up my refactor of Guile's arrays. To my eye it's much > nicer now. Yes, to me too. But I have two overall questions in mind. - What do you have in mind as regards releasing this? Even though it looks good, I think it would be better to let it m

Re: GNU Guile Hackers Meeting?

2009-07-22 Thread Neil Jerram
l...@gnu.org (Ludovic Courtès) writes: > Hello! > > Neil Jerram writes: > >>> Perhaps we should set up a GNU Guile Hackers Meeting (G²HM) by the time >>> 2.0 is released? >> >> If it works for everyone, why not? > > To make things more concrete, how about August 22--23? It works for > Andy and m