caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Jake Donham <jake@donham.org>
To: Yoann Padioleau <padator@wanadoo.fr>
Cc: oleg@okmij.org, caml-list@inria.fr
Subject: Re: [Caml-list] Delimited continuations in OCaml go to 3.12 and 64
Date: Mon, 23 Aug 2010 18:20:44 -0700	[thread overview]
Message-ID: <AANLkTi=Y-CvdyjcJ2d9L_SkRW3RyWS=6pmOeXHm9Hwa9@mail.gmail.com> (raw)
In-Reply-To: <72B69466-3FAC-41AC-96ED-6024DCBD341A@wanadoo.fr>

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


  reply	other threads:[~2010-08-24  1:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-23  1:34 oleg
2010-08-23 21:38 ` [Caml-list] " Yoann Padioleau
2010-08-24  1:20   ` Jake Donham [this message]
2010-08-24  6:53   ` Generators in OCaml oleg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTi=Y-CvdyjcJ2d9L_SkRW3RyWS=6pmOeXHm9Hwa9@mail.gmail.com' \
    --to=jake@donham.org \
    --cc=caml-list@inria.fr \
    --cc=oleg@okmij.org \
    --cc=padator@wanadoo.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).