Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Julien Signoles <Julien.Signoles@cea.fr>
To: caml list <caml-list@inria.fr>
Subject: Typing diff between 3.10.0 and 3.11.0
Date: Thu, 28 May 2009 14:25:25 +0200	[thread overview]
Message-ID: <4A1E82B5.5050508@cea.fr> (raw)

Hello all,

Does someone know why the following code compiles with ocaml 3.11.0 and 
does not with ocaml 3.10.0? I find nothing in the documented ocaml 
changes which could imply such a diff.

=====
let output =
   print_endline ""; (* all is fine without this side effect *)
   (fun fmt -> Format.printf fmt)

let () =
   output "%s" "";
   output ""
=====

Best regards,
Julien Signoles


             reply	other threads:[~2009-05-28 12:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-28 12:25 Julien Signoles [this message]
2009-05-28 12:43 ` [Caml-list] " Stéphane Glondu

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=4A1E82B5.5050508@cea.fr \
    --to=julien.signoles@cea.fr \
    --cc=caml-list@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