Version française
Home     About     Download     Resources     Contact us    
Browse thread
Delimited continuations in OCaml go to 3.12 and 64
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jake Donham <jake@d...>
Subject: Re: [Caml-list] Delimited continuations in OCaml go to 3.12 and 64
On Mon, Aug 23, 2010 at 2:38 PM, Yoann Padioleau <padator@wanadoo.fr> wrote:
> Is there any tutorial on why such features are useful ?
> Concrete examples of their use. For instance can you implement
> python generators and its yield stuff by using this library ?

Here is an example of a particular use of Delimcc to implement fibers for Lwt:

  http://ambassadortothecomputers.blogspot.com/2010/08/mixing-monadic-and-direct-style-code.html

I don't know exactly how python generators work but I would imagine
that you can implement them with Delimcc.

Jake