adrien changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | OCaml 4.07.1 release notes: https://caml.inria.fr/pub/distrib/ocaml-4.07/notes/Changes | Try OCaml in your browser: http://try.ocamlpro.com | Public channel logs at http://irclog.whitequark.org/ocaml | Due to ongoing spam, you must register your nickname to talk on the channel
env__ has quit [Ping timeout: 250 seconds]
ygrek has joined #ocaml
Niamkik has quit [Ping timeout: 245 seconds]
mengu_ has joined #ocaml
mengu has quit [Ping timeout: 250 seconds]
themsay has quit [Ping timeout: 246 seconds]
al-damiri has quit [Quit: Connection closed for inactivity]
Guest56552 has quit [Ping timeout: 272 seconds]
<keep_learning> Hi everyone, I am looking for function to generate random number between -1, 0, or 1 but the library ( http://caml.inria.fr/pub/docs/manual-ocaml/libref/Random.html ) has no such function.
Guest56552 has joined #ocaml
<Fardale> keep_learning: do you need a perfect uniforme distribution ?
<Fardale> keep_learning: Random.int 3 - 1 seems to be what you are looking for
env__ has joined #ocaml
pierpal has quit [Ping timeout: 272 seconds]
jao has quit [Ping timeout: 250 seconds]
jao has joined #ocaml
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jmiven has quit [Quit: co'o]
kvda has joined #ocaml
jmiven has joined #ocaml
ziyourenxiang has joined #ocaml
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jao has quit [Remote host closed the connection]
jao has joined #ocaml
recj has quit [Ping timeout: 246 seconds]
zolk3ri has quit [Quit: Lost terminal]
recj has joined #ocaml
Guest56552 has quit [Ping timeout: 245 seconds]
groovy2shoes has joined #ocaml
ygrek has quit [Ping timeout: 240 seconds]
mfp has quit [Ping timeout: 272 seconds]
env__ has quit [Ping timeout: 250 seconds]
jao has quit [Remote host closed the connection]
env__ has joined #ocaml
Guest56552 has joined #ocaml
jao has joined #ocaml
<keep_learning> Fardale Thank you, but I can't understand how it's working for second parameter (Random.int : int -> int)
runciter_ is now known as runciter
tormen_ has joined #ocaml
tormen has quit [Ping timeout: 240 seconds]
_whitelogger has joined #ocaml
kvda has joined #ocaml
jimt has quit [Quit: WeeChat 1.9.1]
pierpal has joined #ocaml
jimt has joined #ocaml
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kvda has joined #ocaml
env__ has quit [Ping timeout: 250 seconds]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kvda has joined #ocaml
crowley95 has quit [Ping timeout: 250 seconds]
crowley95 has joined #ocaml
Guest56552 has quit [Remote host closed the connection]
Guest56552 has joined #ocaml
Guest56552 has left #ocaml [#ocaml]
Algebr has joined #ocaml
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kvda has joined #ocaml
env__ has joined #ocaml
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kvda has joined #ocaml
jao has quit [Ping timeout: 250 seconds]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kvda has joined #ocaml
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
KeyJoo has joined #ocaml
kvda has joined #ocaml
pierpal has quit [Ping timeout: 246 seconds]
pierpal has joined #ocaml
env__ has quit [Ping timeout: 240 seconds]
env__ has joined #ocaml
mengu_ has quit [Quit: Leaving...]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kvda has joined #ocaml
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<_y> keep_learning, there is only one parameter
<_y> you call Random.int 3 which gives you a random integer between 0 (included) and 3 (excluded)
<_y> then you subtract 1
slamzy has joined #ocaml
Guest71355 has joined #ocaml
Guest71355 has quit [Remote host closed the connection]
<keep_learning> _y Oh, Now I see. Thank you.
Haudegen has joined #ocaml
vovs03 has joined #ocaml
KeyJoo has quit [Ping timeout: 250 seconds]
matclayton has joined #ocaml
matclayton has left #ocaml [#ocaml]
zolk3ri has joined #ocaml
env__ has quit [Ping timeout: 250 seconds]
zolk3ri has quit [Quit: leaving]
Algebr has quit [Ping timeout: 240 seconds]
pistachio has quit [Quit: WeeChat 2.1]
mfp has joined #ocaml
Bronsa has joined #ocaml
pierpal has quit [Ping timeout: 244 seconds]
pierpal has joined #ocaml
roryrjb has joined #ocaml
Haudegen has quit [Read error: Connection reset by peer]
zolk3ri has joined #ocaml
spew has joined #ocaml
zolk3ri has quit [Quit: leaving]
pierpal has quit [Ping timeout: 250 seconds]
cobax has quit [Ping timeout: 252 seconds]
bartholin has joined #ocaml
vovs03 has quit [Quit: vovs03]
waleee has joined #ocaml
env__ has joined #ocaml
env__ has quit [Ping timeout: 272 seconds]
horatiohb has joined #ocaml
waleee has quit [Quit: WeeChat 2.3]
waleee has joined #ocaml
zolk3ri has joined #ocaml
jao has joined #ocaml
zolk3ri has quit [Quit: leaving]
mildtaste has quit [Remote host closed the connection]
eric-young has joined #ocaml
eric-young has quit [Remote host closed the connection]
keep_learning has quit [Quit: Ping timeout (120 seconds)]
al-damiri has joined #ocaml
Algebr has joined #ocaml
Algebr has quit [Remote host closed the connection]
Algebr has joined #ocaml
Algebr is now known as Guest43385
waleee has quit [Quit: WeeChat 2.3]
aohwang has joined #ocaml
aohwang has left #ocaml [#ocaml]
Guest43385 has quit [Remote host closed the connection]
aohwang has joined #ocaml
aohwang has quit [Remote host closed the connection]
Guest43385 has joined #ocaml
slamzy has quit [Ping timeout: 256 seconds]
Guest43385 has quit [Ping timeout: 272 seconds]
aohwang has joined #ocaml
aohwang has left #ocaml ["Quit"]
aohwang has joined #ocaml
aohwang has quit [Ping timeout: 250 seconds]
ziyourenxiang has quit [Ping timeout: 250 seconds]
env__ has joined #ocaml
Guest43385 has joined #ocaml
env__ has quit [Ping timeout: 240 seconds]
env__ has joined #ocaml
nikivi has quit [Quit: ZNC is awesome]
nikivi has joined #ocaml
roryrjb has quit [Ping timeout: 250 seconds]
env__ has quit [Ping timeout: 244 seconds]
webshinra has quit [Remote host closed the connection]
webshinra has joined #ocaml
fraxamo has joined #ocaml
env__ has joined #ocaml
horatiohb has quit [Ping timeout: 250 seconds]
Guest43385 has quit [Remote host closed the connection]
Algebr has joined #ocaml
jnavila has joined #ocaml
roryrjb has joined #ocaml
pierpal has joined #ocaml
steenuil has joined #ocaml
env__ has quit [Ping timeout: 240 seconds]
env__ has joined #ocaml
roryrjb has quit [Ping timeout: 268 seconds]
env__ has quit [Ping timeout: 250 seconds]
env__ has joined #ocaml
ygrek has joined #ocaml
env__ has quit [Ping timeout: 250 seconds]
Algebr has quit [Remote host closed the connection]
chjk6x has joined #ocaml
Algebr has joined #ocaml
jnavila has quit [Ping timeout: 252 seconds]
kakadu_ has joined #ocaml
env__ has joined #ocaml
roryrjb has joined #ocaml
kvda has joined #ocaml
fraxamo has quit [Quit: Leaving]
env__ has quit [Ping timeout: 250 seconds]
env__ has joined #ocaml
dsp has quit [Read error: Connection reset by peer]
dsp has joined #ocaml
Algebr has quit [Ping timeout: 240 seconds]
Algebr has joined #ocaml
Algebr has quit [Ping timeout: 246 seconds]
ZirconiumX has left #ocaml [#ocaml]
Algebr has joined #ocaml
Jesin has quit [Quit: Leaving]
jbkcc has joined #ocaml
Jesin has joined #ocaml
ygrek has quit [Ping timeout: 250 seconds]
jbkcc has quit [Ping timeout: 250 seconds]
roryrjb has quit [Ping timeout: 244 seconds]
rdavison18 has joined #ocaml
rdavison18 has quit [Client Quit]
spew has quit [Quit: going home]
jnavila has joined #ocaml
env__ has quit [Ping timeout: 250 seconds]
bartholin has quit [Remote host closed the connection]
chjk6x has quit [Ping timeout: 240 seconds]
jnavila has quit [Ping timeout: 246 seconds]
env__ has joined #ocaml
kakadu_ has quit [Remote host closed the connection]
env__ has quit [Ping timeout: 268 seconds]
env__ has joined #ocaml
noitakomentaja has joined #ocaml
env__ has quit [Ping timeout: 240 seconds]
noitakomentaja has quit [Quit: leaving]
ygrek has joined #ocaml
env__ has joined #ocaml