caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Gabriel Kerneis <gabriel.kerneis@enst.fr>
To: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] [Camlp4][trivial ?] Anonymous bind (for monads)
Date: Tue, 31 Jul 2007 19:02:34 +0200	[thread overview]
Message-ID: <E1IFv7G-00047E-0W@kerneis.info> (raw)
In-Reply-To: <E1IFv09-00041N-5v@kerneis.info>

[-- Attachment #1: Type: text/plain, Size: 374 bytes --]

Le Tue, 31 Jul 2007 18:55:05 +0200, Gabriel Kerneis
<gabriel.kerneis@enst.fr> a écrit :
> ~/ocaml/camlp4% cat test_bind.ml 
> let r = (Lwt_unix.sleep 5) foo (print_endline "42")

Careful readers will notice that I should have had written: 
let r = (Lwt_unix.sleep 5) foo (Lwt.return (print_endline "42"))

But it doesn't change anything, of course.

-- 
Gabriel

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2007-07-31 17:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-31 16:55 Gabriel Kerneis
2007-07-31 17:02 ` Gabriel Kerneis [this message]
2007-07-31 17:50 ` [Caml-list] " Julien Moutinho
2007-08-09 18:29 ` Nicolas Pouillard

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=E1IFv7G-00047E-0W@kerneis.info \
    --to=gabriel.kerneis@enst.fr \
    --cc=caml-list@yquem.inria.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).