From: Dmitry Grebeniuk <gdsfh1@gmail.com>
To: Ollie Frolovs <ollie.frolovs.2012@my.bristol.ac.uk>
Cc: caml users <caml-list@inria.fr>
Subject: Re: [Caml-list] Random.self_init in Jane Street Core
Date: Wed, 21 May 2014 15:18:15 +0300 [thread overview]
Message-ID: <CAPi0vKV=5-iN9-LN2pkZ=G3FThCPnq7vhcOO-t6VjqWq7dnRpg@mail.gmail.com> (raw)
In-Reply-To: <762DAB52-9D2E-4002-80B0-526258DD7856@my.bristol.ac.uk>
Hello.
> let _ = Random.self_init
That's why I almost never use "let _ = ...", or
constrain "_" to some type when I use it.
Try to replace it with "let () = ..." and follow compiler
errors. Or with "let (_ : unit) = ...".
next prev parent reply other threads:[~2014-05-21 12:18 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-21 12:10 Ollie Frolovs
2014-05-21 12:18 ` Dmitry Grebeniuk [this message]
2014-05-21 12:25 ` Ollie Frolovs
2014-05-21 12:28 ` David House
2014-05-21 16:40 ` Martin Jambon
2014-05-22 9:01 ` Ben Millwood
2014-05-22 17:22 ` Martin Jambon
2014-05-23 0:12 ` Nathan Mishra Linger
2014-05-23 0:15 ` Nathan Mishra Linger
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='CAPi0vKV=5-iN9-LN2pkZ=G3FThCPnq7vhcOO-t6VjqWq7dnRpg@mail.gmail.com' \
--to=gdsfh1@gmail.com \
--cc=caml-list@inria.fr \
--cc=ollie.frolovs.2012@my.bristol.ac.uk \
/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