How to compile the examples in ocaml-core/base/async/examples ?

Stephen Weeks sweeks at janestreet.com
Fri Nov 9 01:49:13 GMT 2012


I think replacing "Jane.Std" with "Core.Std" will work.

On Thu, Nov 8, 2012 at 8:01 PM, Francois Berenger
<francois.berenger.working at gmail.com> wrote:
> By the way, how do I compile them?
> It was my initial question. ;)
>
> On Fri, Nov 9, 2012 at 10:00 AM, Francois Berenger
> <francois.berenger.working at gmail.com> wrote:
>> $ cd ~/.opam/system/build/async.108.07.01/examples
>> $ grep -ri jane.std *
>> bin_prot_test.ml:open Jane.Std
>> cat.ml:open Jane.Std
>> countdown.ml:open Jane.Std
>> finalizer.ml:open Jane.Std
>> monitors.ml:open Jane.Std
>> process.ml:open Jane.Std
>> process_stream.ml:open Jane.Std
>> server.ml:open Jane.Std
>> signals.ml:open Jane.Std
>> sigpipe.ml:open Jane.Std
>> socket.ml:open Jane.Std
>> sound.ml:open Jane.Std
>> write_forever.ml:open Jane.Std
>>
>> On Fri, Nov 9, 2012 at 2:02 AM, Stephen Weeks <sweeks at janestreet.com> wrote:
>>>> Jane.Std is some internal stuff that is not exported.  We should fix
>>>> that example not to use it.  Which specific example is it?
>>>
>>> Many of the examples in base/async/examples unnecessarily refer to
>>> Jane.Std.  I pushed a fix internally to change them all to Core.Std.



More information about the core mailing list