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
themsay has quit [Remote host closed the connection]
themsay has joined #ocaml
IzzyWithAnIzze has left #ocaml [#ocaml]
IzzyWithAnIzze has joined #ocaml
IzzyWithAnIzze has left #ocaml [#ocaml]
IzzyWithAnIzze has joined #ocaml
IzzyWithAnIzze has quit [Quit: Page closed]
IzzyWithAnIzze has joined #ocaml
<IzzyWithAnIzze> Heya! I need some assistance with hacking on the ocaml compiler: Specifically, how do I introduce a new dependency to the build system?
glib has quit [Ping timeout: 256 seconds]
Haudegen has quit [Read error: Connection reset by peer]
IzzyWithAnIzze has quit [Quit: Page closed]
sonologico has quit [Ping timeout: 246 seconds]
<xuib> so i've seen statements like Int.pow <-- where does that come from?
<xuib> it's not in the stdlib as far as i can tell
<xuib> nvm, Batteries
silver has quit [Read error: Connection reset by peer]
ziyourenxiang has joined #ocaml
<xuib> so, i've installed batteries, but i cannot open it : unbound module Batteries
<xuib> i've got as far as ocamlfind -package batteries, or whatever, but where and when do i use that?
<xuib> i use utop for my REPL, does it need to be run everytime i run utop, or ocamlbuild ?
<xuib> is it a cache thing? i don't understand
<madroach> in utop try '#require "batteries";;'
<xuib> madroach: perfect, thanks. the require statement does what specifically? links the module when compiling?
<madroach> xuib: links the module in the REPL.
<madroach> xuib: when compiling you will want to do something like 'ocamlfind ocamlc -linkpkg -packages batteries'
mfp has quit [Ping timeout: 246 seconds]
unyu has quit [Quit: Reboot.]
unyu has joined #ocaml
AnAverageHuman has quit [Remote host closed the connection]
AnAverageHuman has joined #ocaml
themsay has quit [Read error: Connection reset by peer]
themsay has joined #ocaml
themsay has quit [Read error: Connection reset by peer]
themsay has joined #ocaml
<xuib> thanks man
keep_learning_M has quit [Ping timeout: 245 seconds]
<xuib> LOG: batteries
keep_learning_M has joined #ocaml
xuib has quit [Quit: xuib]
keep_learning_M has quit [Ping timeout: 246 seconds]
keep_learning_M has joined #ocaml
rwmjones_ has joined #ocaml
rwmjones has quit [Ping timeout: 250 seconds]
tormen_ has joined #ocaml
tormen has quit [Ping timeout: 255 seconds]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Read error: Connection reset by peer]
FreeBirdLjj has joined #ocaml
caltelt_ has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 246 seconds]
_whitelogger has joined #ocaml
KeyJoo has joined #ocaml
gravicappa has joined #ocaml
crowley95 has quit [Ping timeout: 246 seconds]
keep_learning_M has quit [Ping timeout: 255 seconds]
crowley95 has joined #ocaml
keep_learning_M has joined #ocaml
AnAverageHuman has quit [Ping timeout: 256 seconds]
caltelt_ has quit [Ping timeout: 250 seconds]
KeyJoo has quit [Remote host closed the connection]
sonologico has joined #ocaml
fraxamo has joined #ocaml
gravicappa has quit [Ping timeout: 245 seconds]
Birdface has joined #ocaml
troydm has joined #ocaml
kakadu has joined #ocaml
jnavila has joined #ocaml
lostman has joined #ocaml
nullifidian has quit [Remote host closed the connection]
nullifidian has joined #ocaml
Anarchos has joined #ocaml
Anarchos has quit [Remote host closed the connection]
nullifidian has quit [Remote host closed the connection]
Anarchos has joined #ocaml
Anarchos has quit [Remote host closed the connection]
Anarchos has joined #ocaml
themsay has quit [Read error: Connection reset by peer]
themsay has joined #ocaml
Birdface has quit [Ping timeout: 246 seconds]
Anarchos has quit [Remote host closed the connection]
Anarchos has joined #ocaml
mfp has joined #ocaml
nullifidian has joined #ocaml
nullifidian_ has joined #ocaml
nullifidian has quit [Ping timeout: 250 seconds]
Anarchos has quit [Quit: Vision[0.10.3]: i've been blurred!]
silver has joined #ocaml
lostman has quit [Quit: Connection closed for inactivity]
jnavila has quit [Ping timeout: 246 seconds]
Haudegen has joined #ocaml
uu91 has joined #ocaml
unyu has quit [Quit: brb stupid emacs]
unyu has joined #ocaml
kurtis has quit [Ping timeout: 246 seconds]
AnAverageHuman has joined #ocaml
dwai has joined #ocaml
Birdface has joined #ocaml
AtumT has joined #ocaml
fraxamo_ has joined #ocaml
fraxamo has quit [Ping timeout: 246 seconds]
kurtis has joined #ocaml
kurtis has quit [Ping timeout: 250 seconds]
dwai_ has joined #ocaml
dwai has quit [Ping timeout: 250 seconds]
kurtis has joined #ocaml
jnavila has joined #ocaml
assemblyman has joined #ocaml
Netsu has joined #ocaml
assemblyman has quit [Quit: ™]
<Netsu> hellow there. I'm newbie in OCaml yet. Could you point me, please, what exactly I'm doing wrong here: https://gist.github.com/Pitometsu/5e79f7cb077da03184170815fb6b7f5a
gravicappa has joined #ocaml
Netsu_ has joined #ocaml
Netsu_ has quit [Client Quit]
Netsu_ has joined #ocaml
<Netsu> hellow there. I'm newbie in OCaml yet. Could you point me, please, what exactly I'm doing wrong here: https://gist.github.com/Pitometsu/5e79f7cb077da03184170815fb6b7f5a
pierpal has quit [Quit: Poof]
pierpal has joined #ocaml
<octachron> Netsu, the right hand side of with constraints must be already defined. You cannot define new modules nor types.
<octachron> "type t += A.Message.t" is also not meaningful, you cannot add types to extensible variants, only constructors of the same type.
<Netsu> octachron: oh, thank you a lot, that was not clear for me.
ziyourenxiang has quit [Ping timeout: 255 seconds]
kark has joined #ocaml
zolk3ri has joined #ocaml
Jesin has quit [Quit: Leaving]
kurtis has quit [Ping timeout: 250 seconds]
fraxamo_ has quit [Quit: Leaving]
Jesin has joined #ocaml
Haudegen has quit [Remote host closed the connection]
kurtis has joined #ocaml
kurtis has quit [Ping timeout: 245 seconds]
Serpent7776 has joined #ocaml
kurtis has joined #ocaml
Haudegen has joined #ocaml
xuib has joined #ocaml
al-damiri has joined #ocaml
dwai_ has quit [Quit: Leaving]
Algebr has joined #ocaml
themsay has quit [Read error: Connection reset by peer]
themsay has joined #ocaml
themsay has quit [Remote host closed the connection]
themsay has joined #ocaml
kurtis has quit [Ping timeout: 246 seconds]
kurtis has joined #ocaml
gravicappa has quit [Ping timeout: 246 seconds]
Netsu has quit [Ping timeout: 256 seconds]
Netsu_ has quit [Ping timeout: 256 seconds]
_habnabit has joined #ocaml
kurtis has quit [Ping timeout: 255 seconds]
Birdface has quit [Quit: Leaving]
Serpent7776 has quit [Quit: leaving]
jnavila has quit [Remote host closed the connection]
kakadu has quit [Remote host closed the connection]
zolk3ri has quit [Remote host closed the connection]
Haudegen has quit [Read error: Connection reset by peer]
ziyourenxiang has joined #ocaml
crowley95 has quit [Ping timeout: 246 seconds]
crowley95 has joined #ocaml
ygrek has joined #ocaml