Thanks for the command.<br><br>In fact, it would be quite useful to have example programs for core too. <br>I think I saw just one, while async has many.<br><br>On Tuesday, November 13, 2012 5:20:43 AM UTC+9, Dominick LoBraico wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">Francois,<div><br></div><div>If you have ocamlfind install, this should work (for example):</div><div><br></div><div>$ ocamlfind ocamlc -thread -package async -linkpkg <a href="http://hello.ml" target="_blank">hello.ml</a> -o hello.exe</div><div><br></div><div><br>On Thursday, November 8, 2012 7:01:50 PM UTC-6, Francois Berenger wrote:<blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex">By the way, how do I compile them?
<br>It was my initial question. ;)
<br>
<br>On Fri, Nov 9, 2012 at 10:00 AM, Francois Berenger
<br><<a>francois.ber...@gmail.com</a>> wrote:
<br>> $ cd ~/.opam/system/build/async.<wbr>108.07.01/examples
<br>> $ grep -ri jane.std *
<br>> bin_prot_test.ml:open Jane.Std
<br>> cat.ml:open Jane.Std
<br>> countdown.ml:open Jane.Std
<br>> finalizer.ml:open Jane.Std
<br>> monitors.ml:open Jane.Std
<br>> process.ml:open Jane.Std
<br>> process_stream.ml:open Jane.Std
<br>> server.ml:open Jane.Std
<br>> signals.ml:open Jane.Std
<br>> sigpipe.ml:open Jane.Std
<br>> socket.ml:open Jane.Std
<br>> sound.ml:open Jane.Std
<br>> write_forever.ml:open Jane.Std
<br>>
<br>> On Fri, Nov 9, 2012 at 2:02 AM, Stephen Weeks <<a>swe...@janestreet.com</a>> wrote:
<br>>>> Jane.Std is some internal stuff that is not exported. We should fix
<br>>>> that example not to use it. Which specific example is it?
<br>>>
<br>>> Many of the examples in base/async/examples unnecessarily refer to
<br>>> Jane.Std. I pushed a fix internally to change them all to Core.Std.
<br></blockquote></div></blockquote>