Version française
Home     About     Download     Resources     Contact us    
Browse thread
Typing diff between 3.10.0 and 3.11.0
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Julien Signoles <Julien.Signoles@c...>
Subject: Typing diff between 3.10.0 and 3.11.0
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