ArthurStrong has quit [Read error: Connection reset by peer]
mahmudov has quit [Ping timeout: 240 seconds]
ArthurStrong has joined #ocaml
mahmudov has joined #ocaml
crowley95 has joined #ocaml
mfp has quit [Ping timeout: 268 seconds]
mahmudov has quit [Read error: Connection reset by peer]
mahmudov has joined #ocaml
cartwright has quit [Remote host closed the connection]
cartwright has joined #ocaml
tormen has joined #ocaml
ArthurStrong has quit [Read error: Connection reset by peer]
tormen_ has quit [Ping timeout: 268 seconds]
ArthurStrong has joined #ocaml
mbuf has joined #ocaml
mbuf has quit [Remote host closed the connection]
ArthurStrong has quit [Ping timeout: 258 seconds]
mbuf has joined #ocaml
ArthurStrong has joined #ocaml
mbuf has quit [Remote host closed the connection]
mbuf has joined #ocaml
mbuf has quit [Remote host closed the connection]
mbuf has joined #ocaml
gravicappa has joined #ocaml
breitenj has quit [Ping timeout: 252 seconds]
breitenj has joined #ocaml
mbuf has quit [Remote host closed the connection]
mbuf has joined #ocaml
mahmudov has quit [Remote host closed the connection]
mbuf has quit [Remote host closed the connection]
mbuf has joined #ocaml
ArthurStrong has quit [Ping timeout: 268 seconds]
ArthurStrong has joined #ocaml
ArthurStrong has quit [Client Quit]
jao has quit [Ping timeout: 268 seconds]
dborisog has joined #ocaml
narimiran has joined #ocaml
dmiles has quit []
mbuf has quit [Ping timeout: 265 seconds]
dmiles has joined #ocaml
wingsorc has quit [Ping timeout: 248 seconds]
dmiles has quit [Read error: Connection reset by peer]
dmiles has joined #ocaml
mbuf has joined #ocaml
Wojciech_K has joined #ocaml
nicolaus has quit [Quit: leaving]
dborisog has quit [Remote host closed the connection]
mbuf has quit [Remote host closed the connection]
mbuf has joined #ocaml
dborisog has joined #ocaml
<sarna>
hi, the ocaml style guide says this is bad: "Systematically code sequences with let in bindings." - what does it mean exactly and why is this bad?
<sarna>
is it about consecutive "let .. in" bindings?
<def`>
sarna: I think it is about doing let () = <side_effects> in let () = <side_effects> in ...
<sarna>
def`: ohh, makes sense. thanks!
mbuf has quit [Ping timeout: 268 seconds]
Serpent7776 has joined #ocaml
Haudegen has joined #ocaml
mbuf has joined #ocaml
oni-on-ion has quit [Ping timeout: 248 seconds]
madroach_ has joined #ocaml
madroach has quit [Ping timeout: 264 seconds]
mbuf has quit [Remote host closed the connection]
mbuf has joined #ocaml
mbuf has quit [Remote host closed the connection]
mbuf has joined #ocaml
mbuf has quit [Remote host closed the connection]
mbuf has joined #ocaml
<sarna>
hey, I'm having some problems with modules. I have declared a library "lib" and would like to export two modules from it, let's say X and Y
mbuf has quit [Remote host closed the connection]
<sarna>
should I make a lib.ml[i] file or something?
mbuf has joined #ocaml
<sarna>
okay I figured it out lol, I just have to Lib.X.something :D
<sarna>
the module system is too simple!
<Armael>
hummm :)
bartholin has quit [Quit: Leaving]
<vsiles>
that's a first :p
<sarna>
is `new` a part of ocaml syntax? when I try to expose a function called that, I get a syntax error
<Armael>
yes, for objects
<Armael>
it's a keyword
<sarna>
ah, I see
<sarna>
what's the convention for a name that would create a new.. well, you know, initialize a struct for example?
<sarna>
init?
<Armael>
if you have a type t with an imperative interface and a function of type unit -> t, that function is usually called "create"
<Armael>
init might make sense as well
kakadu has joined #ocaml
<sarna>
hmm, I'll go with create, thanks
mbuf has quit [Remote host closed the connection]
mbuf has joined #ocaml
madroach_ has quit [Read error: Connection reset by peer]
madroach has joined #ocaml
mfp has joined #ocaml
<reynir>
sarna: I've also seen mk_some_struct in the wild. Mk for 'make'
<porchetta>
Is there a way to stop the debugger on an assertion failure?
<porchetta>
Is there a better debugger than ocamldebug?
dhil has joined #ocaml
mbuf has quit [Quit: Leaving]
ollehar has joined #ocaml
kahiru has quit [Ping timeout: 265 seconds]
kahiru has joined #ocaml
jco has joined #ocaml
<jco>
Hello!
<jco>
Have you got a project built with dune generate its documentation thanks to odoc?
<jco>
I tried but it generates an empty index page
<jco>
but it can generate the documentation of the libraries installed on my system
<jco>
I'm using "dune build @doc" to generate the docs
nullifidian__ has joined #ocaml
nullifidian_ has quit [Read error: Connection reset by peer]
ggole has joined #ocaml
dhil has quit [Ping timeout: 248 seconds]
dhil has joined #ocaml
nullifidian__ has quit [Read error: Connection reset by peer]
nullifidian__ has joined #ocaml
Haudegen has quit [Quit: Bin weg.]
<sarna>
reynir: oh, interesting
<sarna>
also, I blew my foot off in a very stupid way - I had a ref to a bool
<sarna>
and I forgot ! in ocaml gets the value instead of negating a bool :D
<theblatte>
:)
FreeBirdLjj has joined #ocaml
jao has joined #ocaml
jao has quit [Changing host]
jao has joined #ocaml
Wojciech_K has quit [Remote host closed the connection]
Haudegen has joined #ocaml
mbuf has joined #ocaml
mbuf has quit [Remote host closed the connection]
mbuf has joined #ocaml
gzoechi has joined #ocaml
mfp has quit [Ping timeout: 268 seconds]
dmiles has quit [Read error: No route to host]
Serpent7776 has quit [Quit: Leaving]
dmiles has joined #ocaml
bartholin has joined #ocaml
gzoechi has left #ocaml ["ERC (IRC client for Emacs 26.1)"]
mbuf has quit [Remote host closed the connection]
mbuf has joined #ocaml
<ollehar>
"not" is negation
smazga has joined #ocaml
<ollehar>
but "and" is not /\
<ollehar>
but &&
ollehar has quit [Ping timeout: 265 seconds]
ziyourenxiang has quit [Quit: Leaving]
gzoechi has joined #ocaml
mbuf has quit [Quit: Leaving]
mfp has joined #ocaml
<jco>
finally solved my problem by adding (public_name myLibraryName) to the dune configuration
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
stux|RC-only has quit [Ping timeout: 268 seconds]
FreeBirdLjj has quit [Ping timeout: 246 seconds]
tane has joined #ocaml
stux|RC-only has joined #ocaml
dhil has quit [Ping timeout: 265 seconds]
nullifidian__ has quit [Read error: Connection reset by peer]
nullifidian_ has joined #ocaml
oni-on-ion has joined #ocaml
tane has quit [Ping timeout: 240 seconds]
gareppa has joined #ocaml
dborisog has quit [Ping timeout: 260 seconds]
gareppa has quit [Quit: Leaving]
Haudegen has quit [Quit: Bin weg.]
Haudegen has joined #ocaml
ggole has quit [Quit: Leaving]
kakadu_ has joined #ocaml
Anarchos has joined #ocaml
tane has joined #ocaml
mahmudov has joined #ocaml
crowley95 has quit [Quit: Bye bye ✋]
crowley95 has joined #ocaml
Anarchos has quit [Quit: Vision[0.10.3]: i've been blurred!]
mahtob has joined #ocaml
mahtob has quit [Remote host closed the connection]
mahtob has joined #ocaml
mahtob has quit [Remote host closed the connection]
mahmudov has quit [Ping timeout: 268 seconds]
jnavila has joined #ocaml
mahmudov has joined #ocaml
narimiran has quit [Ping timeout: 268 seconds]
gzoechi has quit [Ping timeout: 260 seconds]
jnavila has quit [Quit: Konversation terminated!]
jnavila has joined #ocaml
haskell_enthusia has joined #ocaml
tane has quit [Quit: Leaving]
wingsorc has joined #ocaml
mahmudov has quit [Read error: Connection reset by peer]
gravicappa has quit [Ping timeout: 260 seconds]
gravicappa has joined #ocaml
gravicappa has quit [Ping timeout: 258 seconds]
mahmudov has joined #ocaml
jnavila has quit [Remote host closed the connection]
smazga has quit [Quit: leaving]
mahmudov has quit [Read error: Connection reset by peer]
kakadu_ has quit [Remote host closed the connection]
smazga has joined #ocaml
jco has quit [Ping timeout: 260 seconds]
haskell_enthusia has quit [Remote host closed the connection]