00:00
rzmt_ has joined #ocaml
00:00
JeanMax has quit [Remote host closed the connection]
00:00
kleisli has quit [Remote host closed the connection]
00:00
diginet has quit [Quit: diginet has quit!]
00:00
sagax has quit [Remote host closed the connection]
00:00
rzmt has quit [Ping timeout: 265 seconds]
00:00
diginet_ is now known as diginet
00:02
weird_error has quit [Quit: weird_error]
00:23
GreyFaceNoSpace has joined #ocaml
00:26
serge has joined #ocaml
00:30
serge has quit [Ping timeout: 260 seconds]
00:33
serge has joined #ocaml
00:38
serge has quit [Ping timeout: 268 seconds]
00:40
serge has joined #ocaml
00:44
wreed has joined #ocaml
00:45
mahmudov has quit [Remote host closed the connection]
00:45
serge has quit [Ping timeout: 272 seconds]
00:48
serge has joined #ocaml
00:53
serge has quit [Ping timeout: 260 seconds]
00:56
serge has joined #ocaml
01:00
serge has quit [Ping timeout: 260 seconds]
01:03
serge has joined #ocaml
01:08
serge has quit [Ping timeout: 272 seconds]
01:11
serge has joined #ocaml
01:16
serge has quit [Ping timeout: 265 seconds]
01:18
wreed has quit [Ping timeout: 240 seconds]
01:19
serge has joined #ocaml
01:23
serge has quit [Ping timeout: 240 seconds]
01:25
ocaml459 has joined #ocaml
01:26
ocaml459 has quit [Client Quit]
01:27
serge has joined #ocaml
01:31
serge has quit [Ping timeout: 240 seconds]
01:35
serge has joined #ocaml
01:40
serge has quit [Ping timeout: 260 seconds]
01:40
olle has quit [Ping timeout: 268 seconds]
01:42
olle has joined #ocaml
01:43
serge has joined #ocaml
01:48
serge has quit [Ping timeout: 268 seconds]
01:52
serge has joined #ocaml
01:56
serge has quit [Ping timeout: 265 seconds]
01:59
serge has joined #ocaml
02:04
serge has quit [Ping timeout: 240 seconds]
02:08
serge has joined #ocaml
02:11
analogue has joined #ocaml
02:12
serge has quit [Ping timeout: 240 seconds]
02:16
serge has joined #ocaml
02:21
serge has quit [Ping timeout: 272 seconds]
02:25
serge has joined #ocaml
02:25
ocaml459 has joined #ocaml
02:26
ocaml459 has quit [Client Quit]
02:30
serge has quit [Ping timeout: 265 seconds]
02:33
serge has joined #ocaml
02:38
serge has quit [Ping timeout: 268 seconds]
02:42
serge has joined #ocaml
02:44
dborisog has joined #ocaml
02:46
serge has quit [Ping timeout: 265 seconds]
02:50
serge has joined #ocaml
02:55
serge has quit [Ping timeout: 268 seconds]
02:59
serge has joined #ocaml
03:03
serge has quit [Ping timeout: 265 seconds]
03:08
serge has joined #ocaml
03:12
serge has quit [Ping timeout: 260 seconds]
03:16
serge has joined #ocaml
03:21
serge has quit [Ping timeout: 268 seconds]
03:25
serge has joined #ocaml
03:29
serge has quit [Ping timeout: 265 seconds]
03:31
nullifidian has quit [Read error: Connection reset by peer]
03:31
nullifidian has joined #ocaml
03:33
serge has joined #ocaml
03:38
NSA_Spy has quit [Remote host closed the connection]
03:38
serge has quit [Ping timeout: 272 seconds]
03:38
NSA_Spy has joined #ocaml
03:42
tormen_ has joined #ocaml
03:42
serge has joined #ocaml
03:44
mbuf has joined #ocaml
03:45
tormen has quit [Ping timeout: 268 seconds]
03:47
serge has quit [Ping timeout: 260 seconds]
03:50
serge has joined #ocaml
03:55
serge has quit [Ping timeout: 265 seconds]
03:59
serge has joined #ocaml
04:04
serge has quit [Ping timeout: 260 seconds]
04:07
serge has joined #ocaml
04:08
analogue has quit [Quit: Leaving]
04:11
serge has quit [Ping timeout: 260 seconds]
04:12
mfp has quit [Ping timeout: 265 seconds]
04:15
serge has joined #ocaml
04:20
serge has quit [Ping timeout: 268 seconds]
04:21
gravicappa has joined #ocaml
04:24
serge has joined #ocaml
04:26
ocaml459 has joined #ocaml
04:27
ocaml459 has quit [Client Quit]
04:28
serge has quit [Ping timeout: 265 seconds]
04:30
FreeBirdLjj has joined #ocaml
04:30
malina has quit [Remote host closed the connection]
04:32
serge has joined #ocaml
04:34
klntsky has quit [Ping timeout: 240 seconds]
04:34
klntsky has joined #ocaml
04:34
FreeBirdLjj has quit [Ping timeout: 240 seconds]
04:37
serge has quit [Ping timeout: 268 seconds]
04:41
serge has joined #ocaml
04:42
jao has quit [Ping timeout: 265 seconds]
04:45
serge has quit [Ping timeout: 240 seconds]
04:50
serge has joined #ocaml
04:54
serge has quit [Ping timeout: 260 seconds]
04:58
serge has joined #ocaml
05:03
serge has quit [Ping timeout: 265 seconds]
05:06
serge has joined #ocaml
05:11
serge has quit [Ping timeout: 240 seconds]
05:15
serge has joined #ocaml
05:20
serge has quit [Ping timeout: 260 seconds]
05:21
NSA_Spy has quit [Ping timeout: 240 seconds]
05:22
narimiran has joined #ocaml
05:23
serge has joined #ocaml
05:28
ggole has joined #ocaml
05:29
serge has quit [Ping timeout: 272 seconds]
05:32
serge has joined #ocaml
05:37
serge has quit [Ping timeout: 268 seconds]
05:49
serge has joined #ocaml
05:54
serge has quit [Ping timeout: 268 seconds]
05:57
serge has joined #ocaml
06:02
serge has quit [Ping timeout: 268 seconds]
06:04
vicfred_ has quit [Quit: Leaving]
06:06
FreeBirdLjj has joined #ocaml
06:06
serge has joined #ocaml
06:10
serge has quit [Ping timeout: 240 seconds]
06:14
serge has joined #ocaml
06:19
serge has quit [Ping timeout: 268 seconds]
06:23
serge has joined #ocaml
06:24
oni-on-ion has quit [Remote host closed the connection]
06:24
oni-on-ion has joined #ocaml
06:25
FreeBirdLjj has quit [Remote host closed the connection]
06:27
serge has quit [Ping timeout: 240 seconds]
06:31
serge has joined #ocaml
06:36
serge has quit [Ping timeout: 268 seconds]
06:44
<
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
06:47
FreeBirdLjj has joined #ocaml
06:54
<
nicolaus >
btw, how do you make a function to be ran first instead of other functions?
06:56
serge has joined #ocaml
07:01
serge has quit [Ping timeout: 260 seconds]
07:05
serge has joined #ocaml
07:08
FreeBirdLjj has quit [Remote host closed the connection]
07:09
serge has quit [Ping timeout: 240 seconds]
07:13
serge has joined #ocaml
07:17
mbuf has quit [Ping timeout: 268 seconds]
07:17
serge has quit [Ping timeout: 272 seconds]
07:18
mbuf has joined #ocaml
07:18
mbuf has quit [Remote host closed the connection]
07:18
mbuf has joined #ocaml
07:20
sagax has joined #ocaml
07:21
serge has joined #ocaml
07:26
serge has quit [Ping timeout: 272 seconds]
07:28
bartholin has quit [Quit: Leaving]
07:28
<
def`_ >
nicolaus: can you explain a bit more?
07:29
<
oni-on-ion >
let _ = ? or let () = ?
07:37
<
mbuf >
Is there a large source file for marshaling that can be used for testing?
07:38
serge has joined #ocaml
07:42
serge has quit [Ping timeout: 260 seconds]
07:46
serge has joined #ocaml
07:51
serge has quit [Ping timeout: 240 seconds]
07:51
<
nicolaus >
like, I have multiple functions in a file and there's one function that I want to run first aside from the others
07:55
serge has joined #ocaml
08:00
serge has quit [Ping timeout: 272 seconds]
08:04
serge has joined #ocaml
08:07
Haudegen has joined #ocaml
08:09
serge has quit [Ping timeout: 260 seconds]
08:13
serge has joined #ocaml
08:18
serge has quit [Ping timeout: 265 seconds]
08:22
serge has joined #ocaml
08:26
serge has quit [Ping timeout: 272 seconds]
08:30
serge has joined #ocaml
08:31
<
vsiles >
oni-on-ion: is the order in which the let _ = ... are run specified somewhere ?
08:35
serge has quit [Ping timeout: 265 seconds]
08:37
<
oni-on-ion >
vsiles, in the order that they appear
08:39
serge has joined #ocaml
08:43
<
oni-on-ion >
nicolaus, top level expressions are evaluated in order they are linked
08:44
serge has quit [Ping timeout: 268 seconds]
08:45
<
vsiles >
good to know, thank you
08:47
<
vsiles >
however if you have multiple files/modules with top level statement, I don't think the execution order is specified
08:48
serge has joined #ocaml
08:49
<
def`_ >
vsiles: the execution order is the order the modules are passed to the linker
08:49
mbuf has quit [Quit: Leaving]
08:49
<
def`_ >
(which has to be a topological ordering of the modules wrt their dependencies, otherwise it would be unsound :P)
08:50
<
oni-on-ion >
vsiles, which was said just before i shared the link there.
08:53
serge has quit [Ping timeout: 272 seconds]
08:57
serge has joined #ocaml
08:58
<
oni-on-ion >
and make sure to have appropriate semicolons
09:00
<
vsiles >
it's early, sorry :D
09:00
<
vsiles >
def`_: Since i don't know how to control the linking order, I wouldn't rely on that :D
09:01
<
nicolaus >
is there a map implementation in ocaml?
09:01
serge has quit [Ping timeout: 240 seconds]
09:02
<
vsiles >
a map ? a few yes
09:05
g0d_shatter has joined #ocaml
09:05
g0d_shatter has quit [Remote host closed the connection]
09:06
serge has joined #ocaml
09:08
g0d_shatter has joined #ocaml
09:08
<
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
09:11
serge has quit [Ping timeout: 265 seconds]
09:15
serge has joined #ocaml
09:16
cartwright has quit [Remote host closed the connection]
09:17
cartwright has joined #ocaml
09:20
serge has quit [Ping timeout: 268 seconds]
09:24
serge has joined #ocaml
09:28
serge has quit [Ping timeout: 246 seconds]
09:30
<
Leonidas >
he who controls the compiler, controls the linking order
09:33
serge has joined #ocaml
09:37
serge has quit [Ping timeout: 240 seconds]
09:39
nullcone has quit [Quit: Connection closed for inactivity]
09:41
serge has joined #ocaml
09:46
serge has quit [Ping timeout: 272 seconds]
09:50
serge has joined #ocaml
09:55
serge has quit [Ping timeout: 265 seconds]
09:55
<
nicolaus >
how about this?
09:59
serge has joined #ocaml
10:04
serge has quit [Ping timeout: 260 seconds]
10:07
Nahra has joined #ocaml
10:07
<
vsiles >
Leonidas: he who controls the linker, slight nuance here
10:08
serge has joined #ocaml
10:12
serge has quit [Ping timeout: 240 seconds]
10:14
kakadu has joined #ocaml
10:16
kakadu_ has joined #ocaml
10:17
serge has joined #ocaml
10:18
kakadu has quit [Ping timeout: 260 seconds]
10:22
serge has quit [Ping timeout: 265 seconds]
10:26
serge has joined #ocaml
10:31
serge has quit [Ping timeout: 268 seconds]
10:35
serge has joined #ocaml
10:36
Nahra has quit [Quit: leaving]
10:36
mfp has joined #ocaml
10:40
serge has quit [Ping timeout: 260 seconds]
10:41
Nahra has joined #ocaml
10:44
serge has joined #ocaml
10:48
serge has quit [Ping timeout: 240 seconds]
10:53
serge has joined #ocaml
10:57
g0d_shatter has quit [Quit: Leaving]
10:57
serge has quit [Ping timeout: 240 seconds]
11:02
serge has joined #ocaml
11:05
Nahra has quit [Quit: leaving]
11:07
serge has quit [Ping timeout: 268 seconds]
11:10
kakadu_ is now known as kakadu
11:11
serge has joined #ocaml
11:16
serge has quit [Ping timeout: 260 seconds]
11:16
serge has joined #ocaml
11:17
Haudegen has quit [Quit: Bin weg.]
11:20
serge_ has joined #ocaml
11:21
serge has quit [Ping timeout: 265 seconds]
11:25
serge_ has quit [Ping timeout: 265 seconds]
11:29
serge has joined #ocaml
11:35
serge has quit [Ping timeout: 268 seconds]
11:39
serge has joined #ocaml
11:43
serge has quit [Ping timeout: 272 seconds]
11:48
serge has joined #ocaml
11:52
serge has quit [Ping timeout: 268 seconds]
11:54
freyr69 has joined #ocaml
11:55
<
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?
11:57
serge has joined #ocaml
11:58
<
freyr69 >
Ah, nevermind, I've made it
12:00
freyr69 has quit [Remote host closed the connection]
12:01
serge has quit [Ping timeout: 265 seconds]
12:06
serge has joined #ocaml
12:06
stux|RC-only has quit [Quit: Aloha!]
12:08
stux|RC-only has joined #ocaml
12:08
jao has joined #ocaml
12:09
jao has joined #ocaml
12:09
jao has quit [Changing host]
12:11
serge has quit [Ping timeout: 272 seconds]
12:15
serge has joined #ocaml
12:19
serge has quit [Ping timeout: 240 seconds]
12:21
ptival[m] has joined #ocaml
12:21
ptival[m] has left #ocaml ["User left"]
12:24
serge has joined #ocaml
12:24
freyr69 has joined #ocaml
12:25
<
freyr69 >
Ok, now I have a public library and a public executable, both live in separate packages, both depend on a same local library
12:26
<
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
12:26
<
freyr69 >
If I don't make it public I can't use it within my public library
12:27
<
freyr69 >
So is there any way of using the same local library in both public executable and library without packaging it?
12:28
dborisog has quit [Remote host closed the connection]
12:28
serge has quit [Ping timeout: 265 seconds]
12:29
dborisog has joined #ocaml
12:29
<
freyr69 >
As far as I understand this one wasn't merged?
12:30
<
freyr69 >
Yeah, I see. I was thinking of using copy as well, but hoped there is a better way...
12:33
serge has joined #ocaml
12:33
Haudegen has joined #ocaml
12:37
serge has quit [Ping timeout: 246 seconds]
12:37
freyr69 has quit [Read error: Connection reset by peer]
12:38
freyr69 has joined #ocaml
12:38
FreeBirdLjj has joined #ocaml
12:42
serge has joined #ocaml
12:42
<
freyr69 >
Can I have a dune package in my source tree not being published to opam but used by other published packages?
12:43
<
freyr69 >
Does it make sense?
12:47
serge has quit [Ping timeout: 260 seconds]
12:51
serge has joined #ocaml
12:55
serge has quit [Ping timeout: 240 seconds]
13:00
serge has joined #ocaml
13:04
serge has quit [Ping timeout: 265 seconds]
13:04
infinity0 has quit [Remote host closed the connection]
13:05
FreeBirdLjj has quit [Remote host closed the connection]
13:06
FreeBirdLjj has joined #ocaml
13:08
serge has joined #ocaml
13:11
FreeBirdLjj has quit [Ping timeout: 245 seconds]
13:13
serge has quit [Ping timeout: 272 seconds]
13:15
vesper11 has quit [Ping timeout: 272 seconds]
13:15
vesper has joined #ocaml
13:16
serge has joined #ocaml
13:21
serge has quit [Ping timeout: 272 seconds]
13:25
serge has joined #ocaml
13:30
serge has quit [Ping timeout: 260 seconds]
13:37
freyr69 has quit [Remote host closed the connection]
13:42
serge has joined #ocaml
13:47
serge has quit [Ping timeout: 268 seconds]
13:49
FreeBirdLjj has joined #ocaml
13:50
serge has joined #ocaml
13:53
FreeBirdLjj has quit [Remote host closed the connection]
13:54
serge has quit [Ping timeout: 260 seconds]
13:55
FreeBirdLjj has joined #ocaml
13:59
FreeBirdLjj has quit [Ping timeout: 246 seconds]
14:05
serge has joined #ocaml
14:09
serge has quit [Ping timeout: 260 seconds]
14:12
serge has joined #ocaml
14:17
serge has quit [Ping timeout: 268 seconds]
14:24
spew has joined #ocaml
14:26
<
companion_cube >
probably not possible, how would the published packages use it?
14:27
serge has joined #ocaml
14:33
serge has quit [Ping timeout: 272 seconds]
14:35
serge has joined #ocaml
14:40
serge has quit [Ping timeout: 272 seconds]
15:19
serge has joined #ocaml
15:20
nullcone has joined #ocaml
15:24
sarna has quit [Quit: bye]
15:24
serge has quit [Ping timeout: 265 seconds]
15:25
sarna has joined #ocaml
15:32
serge has joined #ocaml
15:37
serge has quit [Ping timeout: 272 seconds]
15:38
vicfred has joined #ocaml
15:46
serge has joined #ocaml
15:50
serge has quit [Ping timeout: 260 seconds]
15:55
smazga has joined #ocaml
16:15
tane has joined #ocaml
16:21
zgasma has joined #ocaml
16:24
smazga has quit [Ping timeout: 272 seconds]
16:25
tane has quit [Quit: Leaving]
16:25
serge has joined #ocaml
16:29
serge has quit [Ping timeout: 260 seconds]
16:32
<
dmbaturin >
companion_cube: They would be tacitly aware of its existence and it would give them hope. ;)
16:45
bartholin has joined #ocaml
16:46
Haudegen has quit [Quit: Bin weg.]
16:51
serge has joined #ocaml
16:55
serge has quit [Ping timeout: 260 seconds]
16:58
Nahra has joined #ocaml
17:04
serge has joined #ocaml
17:09
serge has quit [Ping timeout: 265 seconds]
17:10
serge has joined #ocaml
17:15
serge has quit [Ping timeout: 260 seconds]
17:16
Nahra has quit [Quit: leaving]
17:31
serge has joined #ocaml
17:35
serge has quit [Ping timeout: 265 seconds]
17:45
kleisli_ has quit [Ping timeout: 240 seconds]
17:50
Haudegen has joined #ocaml
17:53
<
rgrinberg >
Yeah, this isn't really possible
17:53
<
rgrinberg >
In dune, we have a separate package for private libraries.
17:57
oni-on-ion has quit [Remote host closed the connection]
17:57
oni-on-ion has joined #ocaml
18:01
Haudegen has quit [Read error: Connection reset by peer]
18:13
mahmudov has joined #ocaml
18:19
webshinra has quit [Remote host closed the connection]
18:24
Haudegen has joined #ocaml
18:33
kakadu_ has joined #ocaml
18:40
olle has quit [Ping timeout: 265 seconds]
18:41
olle has joined #ocaml
18:50
leah2 has quit [Ping timeout: 272 seconds]
18:58
arbipher has joined #ocaml
18:58
tane has joined #ocaml
19:01
tane has quit [Client Quit]
19:07
leah2 has joined #ocaml
19:16
kleisli_ has joined #ocaml
19:19
serge has joined #ocaml
19:24
serge has quit [Ping timeout: 265 seconds]
19:32
serge has joined #ocaml
19:34
jao has quit [Quit: ERC (IRC client for Emacs 28.0.50)]
19:36
serge has quit [Ping timeout: 240 seconds]
19:38
nullcone has quit [Quit: Connection closed for inactivity]
19:40
sagax has quit [Read error: Connection reset by peer]
19:48
sagax has joined #ocaml
20:04
nullcone has joined #ocaml
20:08
nullifidian_ has joined #ocaml
20:09
pierpal has joined #ocaml
20:11
nullifidian has quit [Ping timeout: 272 seconds]
20:22
serge has joined #ocaml
20:25
GreyFaceNoSpace has quit [Quit: Ex-Chat]
20:27
serge has quit [Ping timeout: 268 seconds]
20:29
ggole has quit [Quit: Leaving]
20:37
dborisog has quit [Ping timeout: 265 seconds]
20:37
gravicappa has quit [Ping timeout: 268 seconds]
20:38
jbrown has quit [Ping timeout: 272 seconds]
20:50
jbrown has joined #ocaml
20:59
serge has joined #ocaml
21:04
serge has quit [Ping timeout: 265 seconds]
21:05
Hrundi_V_Bakshi has joined #ocaml
21:07
kleisli_ has quit [Ping timeout: 265 seconds]
21:09
pierpal has quit [Ping timeout: 272 seconds]
21:15
pierpal has joined #ocaml
21:16
cartwright has quit [Remote host closed the connection]
21:17
cartwright has joined #ocaml
21:21
narimiran has quit [Ping timeout: 265 seconds]
21:31
serge has joined #ocaml
21:35
malina has joined #ocaml
21:36
serge has quit [Ping timeout: 265 seconds]
21:38
pierpal has quit [Read error: Connection reset by peer]
21:40
Hrundi_V_Bakshi has quit [Quit: No Ping reply in 180 seconds.]
21:42
Hrundi_V_Bakshi has joined #ocaml
21:45
pierpal has joined #ocaml
21:50
serge has joined #ocaml
21:54
serge has quit [Ping timeout: 265 seconds]
21:56
serge has joined #ocaml
22:00
pierpal has quit [Ping timeout: 265 seconds]
22:01
serge has quit [Ping timeout: 265 seconds]
22:02
serge has joined #ocaml
22:07
serge has quit [Ping timeout: 268 seconds]
22:09
serge has joined #ocaml
22:10
arbipher has quit [Remote host closed the connection]
22:13
pierpal has joined #ocaml
22:13
serge has quit [Ping timeout: 260 seconds]
22:20
spew has quit [Quit: going home]
22:20
pierpal has quit [Ping timeout: 268 seconds]
22:21
serge has joined #ocaml
22:22
kleisli_ has joined #ocaml
22:26
serge has quit [Ping timeout: 260 seconds]
22:30
NSA_Spy has joined #ocaml
22:44
pierpal has joined #ocaml
22:46
serge has joined #ocaml
22:48
pierpal has quit [Ping timeout: 265 seconds]
22:51
serge has quit [Ping timeout: 272 seconds]
22:59
kakadu__ has joined #ocaml
22:59
kakadu_ has quit [Ping timeout: 272 seconds]
23:29
kakadu_ has joined #ocaml
23:30
kakadu__ has quit [Ping timeout: 272 seconds]
23:34
arbipher has joined #ocaml
23:37
picolino has joined #ocaml
23:48
Hrundi_V_Bakshi has quit [Ping timeout: 268 seconds]
23:55
Haudegen has quit [Ping timeout: 260 seconds]