adrien changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | OCaml 4.09 release notes: https://caml.inria.fr/pub/distrib/ocaml-4.09/notes/Changes | Try OCaml in your browser: http://try.ocamlpro.com | Public channel logs at http://irclog.whitequark.org/ocaml
rzmt_ has joined #ocaml
JeanMax has quit [Remote host closed the connection]
kleisli has quit [Remote host closed the connection]
diginet has quit [Quit: diginet has quit!]
sagax has quit [Remote host closed the connection]
rzmt has quit [Ping timeout: 265 seconds]
diginet_ is now known as diginet
weird_error has quit [Quit: weird_error]
GreyFaceNoSpace has joined #ocaml
serge has joined #ocaml
serge has quit [Ping timeout: 260 seconds]
serge has joined #ocaml
serge has quit [Ping timeout: 268 seconds]
serge has joined #ocaml
wreed has joined #ocaml
mahmudov has quit [Remote host closed the connection]
serge has quit [Ping timeout: 272 seconds]
serge has joined #ocaml
serge has quit [Ping timeout: 260 seconds]
serge has joined #ocaml
serge has quit [Ping timeout: 260 seconds]
serge has joined #ocaml
serge has quit [Ping timeout: 272 seconds]
serge has joined #ocaml
serge has quit [Ping timeout: 265 seconds]
wreed has quit [Ping timeout: 240 seconds]
serge has joined #ocaml
serge has quit [Ping timeout: 240 seconds]
ocaml459 has joined #ocaml
ocaml459 has quit [Client Quit]
serge has joined #ocaml
serge has quit [Ping timeout: 240 seconds]
serge has joined #ocaml
serge has quit [Ping timeout: 260 seconds]
olle has quit [Ping timeout: 268 seconds]
olle has joined #ocaml
serge has joined #ocaml
serge has quit [Ping timeout: 268 seconds]
serge has joined #ocaml
serge has quit [Ping timeout: 265 seconds]
serge has joined #ocaml
serge has quit [Ping timeout: 240 seconds]
serge has joined #ocaml
analogue has joined #ocaml
serge has quit [Ping timeout: 240 seconds]
serge has joined #ocaml
serge has quit [Ping timeout: 272 seconds]
serge has joined #ocaml
ocaml459 has joined #ocaml
ocaml459 has quit [Client Quit]
serge has quit [Ping timeout: 265 seconds]
serge has joined #ocaml
serge has quit [Ping timeout: 268 seconds]
serge has joined #ocaml
dborisog has joined #ocaml
serge has quit [Ping timeout: 265 seconds]
serge has joined #ocaml
serge has quit [Ping timeout: 268 seconds]
serge has joined #ocaml
serge has quit [Ping timeout: 265 seconds]
serge has joined #ocaml
serge has quit [Ping timeout: 260 seconds]
serge has joined #ocaml
serge has quit [Ping timeout: 268 seconds]
serge has joined #ocaml
serge has quit [Ping timeout: 265 seconds]
nullifidian has quit [Read error: Connection reset by peer]
nullifidian has joined #ocaml
serge has joined #ocaml
NSA_Spy has quit [Remote host closed the connection]
serge has quit [Ping timeout: 272 seconds]
NSA_Spy has joined #ocaml
tormen_ has joined #ocaml
serge has joined #ocaml
mbuf has joined #ocaml
tormen has quit [Ping timeout: 268 seconds]
serge has quit [Ping timeout: 260 seconds]
serge has joined #ocaml
serge has quit [Ping timeout: 265 seconds]
serge has joined #ocaml
serge has quit [Ping timeout: 260 seconds]
serge has joined #ocaml
analogue has quit [Quit: Leaving]
serge has quit [Ping timeout: 260 seconds]
mfp has quit [Ping timeout: 265 seconds]
serge has joined #ocaml
serge has quit [Ping timeout: 268 seconds]
gravicappa has joined #ocaml
serge has joined #ocaml
ocaml459 has joined #ocaml
ocaml459 has quit [Client Quit]
serge has quit [Ping timeout: 265 seconds]
FreeBirdLjj has joined #ocaml
malina has quit [Remote host closed the connection]
serge has joined #ocaml
klntsky has quit [Ping timeout: 240 seconds]
klntsky has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 240 seconds]
serge has quit [Ping timeout: 268 seconds]
serge has joined #ocaml
jao has quit [Ping timeout: 265 seconds]
serge has quit [Ping timeout: 240 seconds]
serge has joined #ocaml
serge has quit [Ping timeout: 260 seconds]
serge has joined #ocaml
serge has quit [Ping timeout: 265 seconds]
serge has joined #ocaml
serge has quit [Ping timeout: 240 seconds]
serge has joined #ocaml
serge has quit [Ping timeout: 260 seconds]
NSA_Spy has quit [Ping timeout: 240 seconds]
narimiran has joined #ocaml
serge has joined #ocaml
ggole has joined #ocaml
serge has quit [Ping timeout: 272 seconds]
serge has joined #ocaml
serge has quit [Ping timeout: 268 seconds]
serge has joined #ocaml
serge has quit [Ping timeout: 268 seconds]
serge has joined #ocaml
serge has quit [Ping timeout: 268 seconds]
vicfred_ has quit [Quit: Leaving]
FreeBirdLjj has joined #ocaml
serge has joined #ocaml
serge has quit [Ping timeout: 240 seconds]
serge has joined #ocaml
serge has quit [Ping timeout: 268 seconds]
serge has joined #ocaml
oni-on-ion has quit [Remote host closed the connection]
oni-on-ion has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
serge has quit [Ping timeout: 240 seconds]
serge has joined #ocaml
serge has quit [Ping timeout: 268 seconds]
<nicolaus> by the way, I just want to say thank you for all the help answering my questions. I still have more to come :D
FreeBirdLjj has joined #ocaml
<nicolaus> btw, how do you make a function to be ran first instead of other functions?
serge has joined #ocaml
serge has quit [Ping timeout: 260 seconds]
serge has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
serge has quit [Ping timeout: 240 seconds]
serge has joined #ocaml
mbuf has quit [Ping timeout: 268 seconds]
serge has quit [Ping timeout: 272 seconds]
mbuf has joined #ocaml
mbuf has quit [Remote host closed the connection]
mbuf has joined #ocaml
sagax has joined #ocaml
serge has joined #ocaml
serge has quit [Ping timeout: 272 seconds]
bartholin has quit [Quit: Leaving]
<def`_> nicolaus: can you explain a bit more?
<oni-on-ion> let _ = ? or let () = ?
<mbuf> Is there a large source file for marshaling that can be used for testing?
serge has joined #ocaml
serge has quit [Ping timeout: 260 seconds]
serge has joined #ocaml
serge has quit [Ping timeout: 240 seconds]
<nicolaus> like, I have multiple functions in a file and there's one function that I want to run first aside from the others
serge has joined #ocaml
serge has quit [Ping timeout: 272 seconds]
serge has joined #ocaml
Haudegen has joined #ocaml
serge has quit [Ping timeout: 260 seconds]
serge has joined #ocaml
serge has quit [Ping timeout: 265 seconds]
serge has joined #ocaml
serge has quit [Ping timeout: 272 seconds]
serge has joined #ocaml
<vsiles> oni-on-ion: is the order in which the let _ = ... are run specified somewhere ?
serge has quit [Ping timeout: 265 seconds]
<oni-on-ion> vsiles, in the order that they appear
serge has joined #ocaml
<oni-on-ion> nicolaus, top level expressions are evaluated in order they are linked
serge has quit [Ping timeout: 268 seconds]
<vsiles> good to know, thank you
<oni-on-ion> np =)
<vsiles> however if you have multiple files/modules with top level statement, I don't think the execution order is specified
serge has joined #ocaml
<def`_> vsiles: the execution order is the order the modules are passed to the linker
mbuf has quit [Quit: Leaving]
<def`_> (which has to be a topological ordering of the modules wrt their dependencies, otherwise it would be unsound :P)
<oni-on-ion> vsiles, which was said just before i shared the link there.
serge has quit [Ping timeout: 272 seconds]
serge has joined #ocaml
<oni-on-ion> and make sure to have appropriate semicolons
<vsiles> it's early, sorry :D
<vsiles> def`_: Since i don't know how to control the linking order, I wouldn't rely on that :D
<nicolaus> is there a map implementation in ocaml?
serge has quit [Ping timeout: 240 seconds]
<vsiles> a map ? a few yes
<vsiles> you can have a look at https://ocaml.org/learn/tutorials/map.fr.html for example
<nicolaus> thanks
g0d_shatter has joined #ocaml
g0d_shatter has quit [Remote host closed the connection]
serge has joined #ocaml
g0d_shatter has joined #ocaml
<def`_> vsiles: (1) you can if you use the ocaml compiler (2) you can control module dependencies, add explicit dependencies if you rely on initialisation order
serge has quit [Ping timeout: 265 seconds]
<vsiles> true
serge has joined #ocaml
cartwright has quit [Remote host closed the connection]
cartwright has joined #ocaml
serge has quit [Ping timeout: 268 seconds]
serge has joined #ocaml
serge has quit [Ping timeout: 246 seconds]
<Leonidas> he who controls the compiler, controls the linking order
serge has joined #ocaml
serge has quit [Ping timeout: 240 seconds]
nullcone has quit [Quit: Connection closed for inactivity]
serge has joined #ocaml
serge has quit [Ping timeout: 272 seconds]
serge has joined #ocaml
serge has quit [Ping timeout: 265 seconds]
<nicolaus> how about this?
serge has joined #ocaml
serge has quit [Ping timeout: 260 seconds]
Nahra has joined #ocaml
<vsiles> Leonidas: he who controls the linker, slight nuance here
serge has joined #ocaml
serge has quit [Ping timeout: 240 seconds]
kakadu has joined #ocaml
kakadu_ has joined #ocaml
serge has joined #ocaml
kakadu has quit [Ping timeout: 260 seconds]
serge has quit [Ping timeout: 265 seconds]
serge has joined #ocaml
serge has quit [Ping timeout: 268 seconds]
serge has joined #ocaml
Nahra has quit [Quit: leaving]
mfp has joined #ocaml
serge has quit [Ping timeout: 260 seconds]
Nahra has joined #ocaml
serge has joined #ocaml
serge has quit [Ping timeout: 240 seconds]
serge has joined #ocaml
g0d_shatter has quit [Quit: Leaving]
serge has quit [Ping timeout: 240 seconds]
serge has joined #ocaml
Nahra has quit [Quit: leaving]
serge has quit [Ping timeout: 268 seconds]
kakadu_ is now known as kakadu
serge has joined #ocaml
serge has quit [Ping timeout: 260 seconds]
serge has joined #ocaml
Haudegen has quit [Quit: Bin weg.]
serge_ has joined #ocaml
serge has quit [Ping timeout: 265 seconds]
serge_ has quit [Ping timeout: 265 seconds]
serge has joined #ocaml
serge has quit [Ping timeout: 268 seconds]
serge has joined #ocaml
serge has quit [Ping timeout: 272 seconds]
serge has joined #ocaml
serge has quit [Ping timeout: 268 seconds]
freyr69 has joined #ocaml
<freyr69> I have two dune packages using the same local library. How to share the same local library between two packages without creating a public library?
serge has joined #ocaml
<freyr69> Ah, nevermind, I've made it
freyr69 has quit [Remote host closed the connection]
serge has quit [Ping timeout: 265 seconds]
serge has joined #ocaml
stux|RC-only has quit [Quit: Aloha!]
stux|RC-only has joined #ocaml
jao has joined #ocaml
jao has joined #ocaml
jao has quit [Changing host]
serge has quit [Ping timeout: 272 seconds]
serge has joined #ocaml
serge has quit [Ping timeout: 240 seconds]
ptival[m] has joined #ocaml
ptival[m] has left #ocaml ["User left"]
serge has joined #ocaml
freyr69 has joined #ocaml
<freyr69> Ok, now I have a public library and a public executable, both live in separate packages, both depend on a same local library
<freyr69> If I make local library public, it seems it goes the same package as the main library, and I can't use it from the executable package without adding a dependency
<freyr69> If I don't make it public I can't use it within my public library
<freyr69> So is there any way of using the same local library in both public executable and library without packaging it?
dborisog has quit [Remote host closed the connection]
serge has quit [Ping timeout: 265 seconds]
dborisog has joined #ocaml
<freyr69> As far as I understand this one wasn't merged?
<hannes> freyr69: I tried this some time ago (there may be better ways now), in the end I use "cp" in the libraries that use the module(s) -- https://github.com/hannesm/logs-syslog/blob/master/src/lwt/dune
<freyr69> Yeah, I see. I was thinking of using copy as well, but hoped there is a better way...
serge has joined #ocaml
Haudegen has joined #ocaml
serge has quit [Ping timeout: 246 seconds]
freyr69 has quit [Read error: Connection reset by peer]
freyr69 has joined #ocaml
FreeBirdLjj has joined #ocaml
serge has joined #ocaml
<freyr69> Can I have a dune package in my source tree not being published to opam but used by other published packages?
<freyr69> Does it make sense?
serge has quit [Ping timeout: 260 seconds]
serge has joined #ocaml
serge has quit [Ping timeout: 240 seconds]
serge has joined #ocaml
serge has quit [Ping timeout: 265 seconds]
infinity0 has quit [Remote host closed the connection]
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
serge has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 245 seconds]
serge has quit [Ping timeout: 272 seconds]
vesper11 has quit [Ping timeout: 272 seconds]
vesper has joined #ocaml
serge has joined #ocaml
serge has quit [Ping timeout: 272 seconds]
serge has joined #ocaml
serge has quit [Ping timeout: 260 seconds]
freyr69 has quit [Remote host closed the connection]
serge has joined #ocaml
serge has quit [Ping timeout: 268 seconds]
FreeBirdLjj has joined #ocaml
serge has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
serge has quit [Ping timeout: 260 seconds]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 246 seconds]
serge has joined #ocaml
serge has quit [Ping timeout: 260 seconds]
serge has joined #ocaml
serge has quit [Ping timeout: 268 seconds]
spew has joined #ocaml
<companion_cube> probably not possible, how would the published packages use it?
serge has joined #ocaml
serge has quit [Ping timeout: 272 seconds]
serge has joined #ocaml
serge has quit [Ping timeout: 272 seconds]
serge has joined #ocaml
nullcone has joined #ocaml
sarna has quit [Quit: bye]
serge has quit [Ping timeout: 265 seconds]
sarna has joined #ocaml
serge has joined #ocaml
serge has quit [Ping timeout: 272 seconds]
vicfred has joined #ocaml
serge has joined #ocaml
serge has quit [Ping timeout: 260 seconds]
smazga has joined #ocaml
tane has joined #ocaml
zgasma has joined #ocaml
smazga has quit [Ping timeout: 272 seconds]
tane has quit [Quit: Leaving]
serge has joined #ocaml
serge has quit [Ping timeout: 260 seconds]
<dmbaturin> companion_cube: They would be tacitly aware of its existence and it would give them hope. ;)
bartholin has joined #ocaml
Haudegen has quit [Quit: Bin weg.]
serge has joined #ocaml
serge has quit [Ping timeout: 260 seconds]
Nahra has joined #ocaml
serge has joined #ocaml
serge has quit [Ping timeout: 265 seconds]
serge has joined #ocaml
serge has quit [Ping timeout: 260 seconds]
Nahra has quit [Quit: leaving]
serge has joined #ocaml
serge has quit [Ping timeout: 265 seconds]
kleisli_ has quit [Ping timeout: 240 seconds]
Haudegen has joined #ocaml
<rgrinberg> Yeah, this isn't really possible
<rgrinberg> In dune, we have a separate package for private libraries.
oni-on-ion has quit [Remote host closed the connection]
oni-on-ion has joined #ocaml
Haudegen has quit [Read error: Connection reset by peer]
mahmudov has joined #ocaml
webshinra has quit [Remote host closed the connection]
Haudegen has joined #ocaml
kakadu_ has joined #ocaml
olle has quit [Ping timeout: 265 seconds]
olle has joined #ocaml
leah2 has quit [Ping timeout: 272 seconds]
arbipher has joined #ocaml
tane has joined #ocaml
tane has quit [Client Quit]
leah2 has joined #ocaml
kleisli_ has joined #ocaml
serge has joined #ocaml
serge has quit [Ping timeout: 265 seconds]
serge has joined #ocaml
jao has quit [Quit: ERC (IRC client for Emacs 28.0.50)]
serge has quit [Ping timeout: 240 seconds]
nullcone has quit [Quit: Connection closed for inactivity]
sagax has quit [Read error: Connection reset by peer]
sagax has joined #ocaml
nullcone has joined #ocaml
nullifidian_ has joined #ocaml
pierpal has joined #ocaml
nullifidian has quit [Ping timeout: 272 seconds]
serge has joined #ocaml
GreyFaceNoSpace has quit [Quit: Ex-Chat]
serge has quit [Ping timeout: 268 seconds]
ggole has quit [Quit: Leaving]
dborisog has quit [Ping timeout: 265 seconds]
gravicappa has quit [Ping timeout: 268 seconds]
jbrown has quit [Ping timeout: 272 seconds]
jbrown has joined #ocaml
serge has joined #ocaml
serge has quit [Ping timeout: 265 seconds]
Hrundi_V_Bakshi has joined #ocaml
kleisli_ has quit [Ping timeout: 265 seconds]
pierpal has quit [Ping timeout: 272 seconds]
pierpal has joined #ocaml
cartwright has quit [Remote host closed the connection]
cartwright has joined #ocaml
narimiran has quit [Ping timeout: 265 seconds]
serge has joined #ocaml
malina has joined #ocaml
serge has quit [Ping timeout: 265 seconds]
pierpal has quit [Read error: Connection reset by peer]
Hrundi_V_Bakshi has quit [Quit: No Ping reply in 180 seconds.]
Hrundi_V_Bakshi has joined #ocaml
pierpal has joined #ocaml
serge has joined #ocaml
serge has quit [Ping timeout: 265 seconds]
serge has joined #ocaml
pierpal has quit [Ping timeout: 265 seconds]
serge has quit [Ping timeout: 265 seconds]
serge has joined #ocaml
serge has quit [Ping timeout: 268 seconds]
serge has joined #ocaml
arbipher has quit [Remote host closed the connection]
pierpal has joined #ocaml
serge has quit [Ping timeout: 260 seconds]
spew has quit [Quit: going home]
pierpal has quit [Ping timeout: 268 seconds]
serge has joined #ocaml
kleisli_ has joined #ocaml
serge has quit [Ping timeout: 260 seconds]
NSA_Spy has joined #ocaml
pierpal has joined #ocaml
serge has joined #ocaml
pierpal has quit [Ping timeout: 265 seconds]
serge has quit [Ping timeout: 272 seconds]
kakadu__ has joined #ocaml
kakadu_ has quit [Ping timeout: 272 seconds]
kakadu_ has joined #ocaml
kakadu__ has quit [Ping timeout: 272 seconds]
arbipher has joined #ocaml
picolino has quit [Quit: ZNC - http://znc.in]
picolino has joined #ocaml
Hrundi_V_Bakshi has quit [Ping timeout: 268 seconds]
Haudegen has quit [Ping timeout: 260 seconds]