emacs-devel
[Top][All Lists]
Advanced

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

Re: ELisp futures and continuations/coroutines


From: joakim
Subject: Re: ELisp futures and continuations/coroutines
Date: Thu, 19 May 2011 16:16:30 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Ted Zlatanov <address@hidden> writes:

> On Wed, 18 May 2011 19:05:57 -0300 Stefan Monnier <address@hidden> wrote: 
>
> SM> That's a good idea.  Kind of like a future.
>
> Speaking of futures, can we have a general facility for those?
>
> 1) a real "future" type
>
> 2) a way to construct it and check if the value is available
>
> 3) process sentinel tie-in
>
> I'm sure much of this facility is either possible or already available
> in ELisp, I just don't know the pieces and I think it would be very
> convenient to provide a "future" type.  WDYT?
>
> Similarly it would be very nice to provide continuations and coroutines
> if those are not already possible.  They don't need a top-level type
> though, a lexical closure is sufficient I think.  Please tell me how I'm
> wrong :)

Continuations makes for very convenient web frameworks. Yum!

>
> Ted
>

-- 
Joakim Verona



reply via email to

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