Re: [PATCH] Move let/ec to top-level

2013-04-06 Thread Ludovic Courtès
Ian Price skribis: > From ffbe4cf3c151d5d5affd5baecf7b4cf65b22ce50 Mon Sep 17 00:00:00 2001 > From: Ian Price > Date: Sat, 6 Apr 2013 03:06:25 +0100 > Subject: [PATCH] Remove duplicate definitions of `call/ec' and `let/ec'. > > * module/language/tree-il/peval.scm (let/ec): Remove. Import > (ic

Re: [PATCH] Move let/ec to top-level

2013-04-06 Thread Ludovic Courtès
Ian Price skribis: > Okay, apparently Ludovic already mailed the list about this, but I > didn't see it due to a stale gnus. Yes. :-/ I think all your suggestions are incorporated in 55e26a4, but let me know if something’s missing. Ludo’.

Re: [PATCH] Move let/ec to top-level

2013-04-05 Thread Nala Ginrut
在 2013-4-6 AM8:53,"Ian Price" 写道: > > Nala Ginrut writes: > > > +@deffn {Scheme Procedure} call/ec proc > > +'ec' stands for escape-continuation, or so-called 'one-shot' continuation. > > +@var{call/ec} is equivalent to call-with-escape-continuation. > > +A continuation obtained from call/ec is ac

Re: [PATCH] Move let/ec to top-level

2013-04-05 Thread Ian Price
Attached is a patch to remove the duplicated definitions. -- Ian Price -- shift-reset.com "Programming is like pinball. The reward for doing it well is the opportunity to do it again" - from "The Wizardy Compiled" >From ffbe4cf3c151d5d5affd5baecf7b4cf65b22ce50 Mon Sep 17 00:00:00 2001 From: Ia

Re: [PATCH] Move let/ec to top-level

2013-04-05 Thread Ian Price
Okay, apparently Ludovic already mailed the list about this, but I didn't see it due to a stale gnus. Ah well. Such is life. -- Ian Price -- shift-reset.com "Programming is like pinball. The reward for doing it well is the opportunity to do it again" - from "The Wizardy Compiled"

Re: [PATCH] Move let/ec to top-level

2013-04-05 Thread Ian Price
Nala Ginrut writes: > +@deffn {Scheme Procedure} call/ec proc > +'ec' stands for escape-continuation, or so-called 'one-shot' continuation. > +@var{call/ec} is equivalent to call-with-escape-continuation. > +A continuation obtained from call/ec is actually a kind of prompt. > @var{call/ec} > +i

Re: [PATCH] Move let/ec to top-level

2013-04-05 Thread Ludovic Courtès
Nala Ginrut skribis: > Add call/ec and let/ec to (ice-9 control) with docs in the manual. I ended up making many changes (some suggested by Mark on IRC), and the result is commit 55e26a4. Please note the differences. It would be beneficial if your future submissions could be closer to our expe

Re: [PATCH] Move let/ec to top-level

2013-04-03 Thread Nala Ginrut
On Wed, 2013-03-27 at 22:14 +0100, Ludovic Courtès wrote: > Sounds good to me, but can you also (1) add doc, probably under “Prompt > Primitives”, with cross-refs from the “Exceptions” section, and (2) > write a ChangeLog-style commit log? > > Thanks, > Ludo’. > > Add call/ec and let/ec to (ice

Re: [PATCH] Move let/ec to top-level

2013-03-27 Thread Ludovic Courtès
Sounds good to me, but can you also (1) add doc, probably under “Prompt Primitives”, with cross-refs from the “Exceptions” section, and (2) write a ChangeLog-style commit log? Thanks, Ludo’.

Re: [PATCH] Move let/ec to top-level

2013-01-22 Thread Andy Wingo
Hi Nala, This form is missing documentation and a test case. I would also add it to (ice-9 control) instead of to the core, along with the corresponding call/ec and perhaps the longer names as well. On Mon 14 Jan 2013 16:20, Nala Ginrut writes: > +(define-syntax-rule (let/ec k e e* ...) > + (