00:00
cokanut has joined #ocaml
00:04
cokanut has quit [Ping timeout: 246 seconds]
00:16
sh0t has quit [Remote host closed the connection]
00:18
segmond has quit [Ping timeout: 246 seconds]
00:26
segmond has joined #ocaml
00:32
segmond has quit [Ping timeout: 246 seconds]
00:32
Onemorenickname_ has quit [Read error: Connection reset by peer]
00:35
segmond has joined #ocaml
00:38
segmond has quit [Max SendQ exceeded]
00:39
segmond has joined #ocaml
00:41
jabroney has joined #ocaml
00:42
jabroney1 has quit [Read error: Connection reset by peer]
00:42
jao has quit [Ping timeout: 246 seconds]
00:44
infinity0 has quit [Remote host closed the connection]
00:44
infinity0 has joined #ocaml
00:46
jabroney has quit [Ping timeout: 256 seconds]
00:48
al-damiri has quit [Quit: Connection closed for inactivity]
00:49
infinity0 has quit [Remote host closed the connection]
00:59
ajhager2 has quit [Quit: WeeChat 1.7]
01:00
spew has quit [Ping timeout: 260 seconds]
01:06
freusque has quit [Quit: WeeChat 1.4]
01:10
atsampson has quit [Ping timeout: 255 seconds]
01:13
jmasseo has quit [Quit: Lost terminal]
01:14
spew has joined #ocaml
01:17
atsampson has joined #ocaml
01:17
ncthom91 has joined #ocaml
01:30
silver has quit [Read error: Connection reset by peer]
01:39
igt0 has joined #ocaml
02:05
jimt is now known as Jim7J1AJH
02:05
FreeBirdLjj has joined #ocaml
02:22
mfp_ has quit [Ping timeout: 256 seconds]
02:35
cokanut has joined #ocaml
02:37
FreeBirdLjj has quit [Read error: Connection reset by peer]
02:39
FreeBirdLjj has joined #ocaml
02:40
FreeBirdLjj has quit [Read error: Connection reset by peer]
02:42
FreeBirdLjj has joined #ocaml
02:43
FreeBirdLjj has quit [Read error: Connection reset by peer]
02:47
FreeBirdLjj has joined #ocaml
02:47
FreeBirdLjj has quit [Read error: Connection reset by peer]
02:49
FreeBirdLjj has joined #ocaml
02:51
FreeBirdLjj has quit [Read error: Connection reset by peer]
02:52
cokanut has quit [Ping timeout: 268 seconds]
02:52
FreeBirdLjj has joined #ocaml
02:55
FreeBirdLjj has quit [Read error: Connection reset by peer]
02:56
FreeBirdLjj has joined #ocaml
02:56
FreeBirdLjj has quit [Read error: Connection reset by peer]
02:58
thewickedaxe has joined #ocaml
03:03
FreeBirdLjj has joined #ocaml
03:06
FreeBirdLjj has quit [Remote host closed the connection]
03:07
FreeBirdLjj has joined #ocaml
03:19
spew has quit [Ping timeout: 240 seconds]
03:22
<
tautologico >
companion_cube: does ZMQ (the ocaml bindings) depend on Lwt?
03:25
FreeBirdLjj has quit [Remote host closed the connection]
03:26
FreeBirdLjj has joined #ocaml
03:29
ygrek_ has joined #ocaml
03:32
ygrek has quit [Ping timeout: 240 seconds]
03:33
spew has joined #ocaml
03:34
ygrek_ has quit [Ping timeout: 268 seconds]
03:38
FreeBirdLjj has quit [Ping timeout: 268 seconds]
03:39
wtetzner has joined #ocaml
03:43
FreeBirdLjj has joined #ocaml
03:49
spew has quit [Ping timeout: 264 seconds]
03:55
FreeBirdLjj has quit [Ping timeout: 240 seconds]
03:57
thewickedaxe has quit [Ping timeout: 240 seconds]
03:59
FreeBirdLjj has joined #ocaml
04:07
govg has quit [Ping timeout: 260 seconds]
04:14
FreeBirdLjj has quit [Remote host closed the connection]
04:24
thewickedaxe has joined #ocaml
04:33
Jim7J1AJH is now known as jimt
04:34
cokanut has joined #ocaml
04:39
cokanut has quit [Ping timeout: 258 seconds]
04:41
spew has joined #ocaml
04:52
govg has joined #ocaml
04:56
wtetzner has quit [Remote host closed the connection]
04:56
igt0 has quit [Quit: Connection closed for inactivity]
04:59
spew has quit [Quit: foobar]
05:12
cokanut has joined #ocaml
05:17
FreeBirdLjj has joined #ocaml
05:29
thewickedaxe has quit [Ping timeout: 240 seconds]
05:39
AlexDenisov has joined #ocaml
05:44
MercurialAlchemi has joined #ocaml
05:48
BitPuffin|osx has quit [Ping timeout: 256 seconds]
05:52
govg has quit [Ping timeout: 240 seconds]
05:53
AlexDenisov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
06:17
wagle has quit [Ping timeout: 260 seconds]
06:18
wagle has joined #ocaml
06:29
copy` has quit [Quit: Connection closed for inactivity]
06:38
govg has joined #ocaml
06:56
ygrek_ has joined #ocaml
07:00
rpcope has joined #ocaml
07:06
MercurialAlchemi has quit [Ping timeout: 240 seconds]
07:13
fraggle_ has joined #ocaml
07:15
Simn has joined #ocaml
07:23
nicoo has quit [Ping timeout: 240 seconds]
07:24
cokanut has quit [Ping timeout: 260 seconds]
07:27
nicoo has joined #ocaml
07:28
larhat has joined #ocaml
07:36
rpcope has joined #ocaml
07:50
cokanut has joined #ocaml
07:50
<
companion_cube >
no, there's lwt-zmq that bridges bothj
07:56
jnavila has joined #ocaml
08:06
rpcope has joined #ocaml
08:09
freusque has joined #ocaml
08:11
larhat has quit [Quit: Leaving.]
08:12
octachron has joined #ocaml
08:12
cokanut has quit [Ping timeout: 264 seconds]
08:14
zpe has joined #ocaml
08:15
cokanut has joined #ocaml
08:20
ohama has quit [Ping timeout: 240 seconds]
08:21
AltGr has joined #ocaml
08:24
ohama has joined #ocaml
08:41
rpcope has joined #ocaml
08:42
xmonader has joined #ocaml
08:42
cokanut has quit [Ping timeout: 258 seconds]
08:47
MercurialAlchemi has joined #ocaml
08:52
freusque has quit [Ping timeout: 260 seconds]
08:58
AlexDenisov has joined #ocaml
09:07
AlexDenisov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
09:08
AlexDenisov has joined #ocaml
09:08
AlexDenisov has quit [Client Quit]
09:09
AlexDenisov has joined #ocaml
09:09
AlexDenisov has quit [Client Quit]
09:09
AlexDenisov has joined #ocaml
09:10
AlexDenisov has quit [Client Quit]
09:10
AlexDenisov has joined #ocaml
09:11
AlexDenisov has quit [Client Quit]
09:11
ygrek_ has quit [Ping timeout: 240 seconds]
09:14
AlexDenisov has joined #ocaml
09:19
rcsole has joined #ocaml
09:22
zpe has quit [Remote host closed the connection]
09:22
Bluddy[m] has quit [Ping timeout: 255 seconds]
09:22
zpe has joined #ocaml
09:23
Bluddy[m] has joined #ocaml
09:23
M-ErkkiSeppl has quit [Ping timeout: 255 seconds]
09:23
rcsole has quit [Ping timeout: 240 seconds]
09:23
M-ErkkiSeppl has joined #ocaml
09:23
ygrek has joined #ocaml
09:25
zpe has quit [Read error: No route to host]
09:26
zpe has joined #ocaml
09:26
justicefries has joined #ocaml
09:35
infinity0 has joined #ocaml
09:40
zpe has quit [Remote host closed the connection]
09:40
zpe has joined #ocaml
09:42
zv has quit [Ping timeout: 256 seconds]
09:45
zpe has quit [Ping timeout: 260 seconds]
09:53
AlexDenisov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
09:53
zv has joined #ocaml
09:56
MercurialAlchemi has quit [Ping timeout: 258 seconds]
10:00
zpe has joined #ocaml
10:00
zpe has quit [Remote host closed the connection]
10:01
zpe has joined #ocaml
10:01
FreeBirdLjj has quit [Remote host closed the connection]
10:05
zpe has quit [Ping timeout: 260 seconds]
10:12
ygrek has quit [Ping timeout: 260 seconds]
10:19
FreeBirdLjj has joined #ocaml
10:38
mfp_ has joined #ocaml
10:39
kakadu has joined #ocaml
10:46
infinity0 has quit [Remote host closed the connection]
10:46
tormen has quit [Ping timeout: 240 seconds]
10:46
infinity0 has joined #ocaml
10:47
tormen has joined #ocaml
10:48
dhil has joined #ocaml
10:49
zpe has joined #ocaml
10:53
AlexDenisov has joined #ocaml
10:53
infinity0 has quit [Remote host closed the connection]
10:53
infinity0 has joined #ocaml
10:54
silver has joined #ocaml
11:09
cokanut has joined #ocaml
11:14
cokanut has quit [Ping timeout: 260 seconds]
11:15
cokanut has joined #ocaml
11:22
cokanut has quit [Quit: Lost terminal]
11:47
AlexDenisov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
11:51
CcxWrk has quit [Read error: Connection reset by peer]
11:52
yomimono has joined #ocaml
11:53
CcxWrk has joined #ocaml
11:58
FreeBirdLjj has quit [Remote host closed the connection]
12:09
freusque has joined #ocaml
12:12
d0nn1e has quit [Ping timeout: 264 seconds]
12:14
ollehar has joined #ocaml
12:15
d0nn1e has joined #ocaml
12:22
kino` has joined #ocaml
12:25
<
kino` >
I started OCaml not too long ago, and was looking at ast_iterator in the compiler -
12:26
<
kino` >
I tried implementing something similar, which works - you can change behavior by updating the default_iterator record
12:26
<
kino` >
But is it possible to add a field to that record ?
12:26
jbrown has joined #ocaml
12:27
<
kino` >
Like - Say I want to build a list with all of my identifiers
12:27
<
kino` >
Do I have to use a ref list on the side - or can I just add a field?
12:28
<
ollehar >
kino`: extend a record defined else where?
12:29
<
kino` >
ollehar: What do you mean?
12:29
<
ollehar >
I believe there was an OCaml branch that let you do that
12:30
<
kino` >
Oh yeah, ok
12:32
<
def` >
kino`: you do have to use a list ref on the side
12:35
<
kino` >
Is there any way to make such a mapper function return some other type?
12:44
freusque has quit [Quit: WeeChat 1.7]
12:46
freusque has joined #ocaml
12:50
<
octachron >
kino`, it is possible in general, but I don't think it would make sense for ast_mapper which default value is a tree homomorphism
12:51
<
kino` >
Hm, I see. What would be the recommended approach then?
12:52
BitPuffin|osx has joined #ocaml
12:52
<
octachron >
kino`, first what are you trying to do?
12:53
<
rightfold >
What does ## mean?
12:53
<
rightfold >
I see it in some examples.
12:53
<
ollehar >
rightfold: command in command-line tool
12:53
<
ollehar >
to load libs
12:54
<
ollehar >
or what's the context?
12:54
<
ollehar >
wait, maybe it's only #use topfind
12:54
<
octachron >
rightfold, js_of_ocaml uses it for javascript methods and properties
12:54
<
rightfold >
ollehar: as part of an expression, such as `context##fillRect (!x,!y, 20., 20.)`
12:54
<
rightfold >
octachron: ah, so it's JS-specific, thanks
12:54
<
rightfold >
I see bucklescript also uses it
12:55
<
octachron >
rightfold, the generic rule for # operators is that if there is at least two #, it is an extension specific operators
12:56
<
kino` >
octachron: Let's say I've got an `equation` node that I want to transform in `annotated equation`
12:56
dhil has quit [Ping timeout: 240 seconds]
12:56
<
kino` >
But not to rewrite all the AST traversal
12:57
<
rgrinberg >
Did the ocamlbuild upgrade go well for everyone?
12:57
<
ollehar >
octachron: it's also for object method calling?
12:57
AlexDenisov has joined #ocaml
12:58
<
octachron >
ollehar, the standard single "#" operator is for Ocaml object method call, yes
12:58
apache3 has quit [Remote host closed the connection]
12:58
apache3 has joined #ocaml
12:58
_andre has joined #ocaml
12:58
<
octachron >
kino`, and an annotated equation and a normal equation have different node types?
13:03
<
octachron >
kino`, a solution might be to find the closest ancestor node whose type is left unchanged and implement the equation transformation at this level
13:03
<
kino` >
And relaunch the mapper on the child nodes post transformation
13:03
<
kino` >
Yeah, that might work
13:03
<
kino` >
Thanks a lot.
13:12
shinnya has joined #ocaml
13:23
dhil has joined #ocaml
13:26
cheater has quit [Ping timeout: 260 seconds]
13:28
cheater has joined #ocaml
13:48
zpe has quit [Remote host closed the connection]
13:50
zpe has joined #ocaml
14:01
agarwal1975 has joined #ocaml
14:10
AlexDenisov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:10
freechips has quit [Ping timeout: 240 seconds]
14:13
sh0t has joined #ocaml
14:15
<
kino` >
Would you have a link to some documentation or article about opening/organizing modules stored in a folder hierarchy?
14:15
freechips has joined #ocaml
14:16
AlexDenisov has joined #ocaml
14:17
cheater has quit [Ping timeout: 260 seconds]
14:18
cheater has joined #ocaml
14:20
freechips has quit [Ping timeout: 246 seconds]
14:20
<
kino` >
Ah, found something on SO.
14:23
freechips has joined #ocaml
14:24
snowcrshd has joined #ocaml
14:28
govg has quit [Ping timeout: 258 seconds]
14:34
dch_ has joined #ocaml
14:35
freechips has quit [Ping timeout: 256 seconds]
14:43
<
kino` >
Did anybody had issues with a menhir parser in folder referenced by a .mlpack file?
14:44
cheater has quit [Ping timeout: 260 seconds]
14:45
spew has joined #ocaml
14:46
cheater has joined #ocaml
14:46
dch_ has quit [Quit: ZZ]
14:53
abeaumont has joined #ocaml
14:55
govg has joined #ocaml
14:59
thewickedaxe has joined #ocaml
15:02
freechips has joined #ocaml
15:06
infinity0 has quit [Remote host closed the connection]
15:08
infinity0 has joined #ocaml
15:14
al-damiri has joined #ocaml
15:18
ollehar has quit [Ping timeout: 246 seconds]
15:18
zpe has quit [Remote host closed the connection]
15:19
jao has joined #ocaml
15:20
<
kino` >
What is the complexity of Ocaml's String.concatenate function?
15:23
infinity0 has quit [Remote host closed the connection]
15:23
infinity0 has joined #ocaml
15:24
<
flux >
I assume O(∑n_m)
15:33
<
octachron >
flux, it made me remember that there is no notation for bivariant type parameter in the surface language :(
15:46
shinnya has quit [Ping timeout: 260 seconds]
15:56
<
infinity0 >
flux: look up "algebraic subtyping" by stephen dolan, 2016-09 phd thesis
15:57
<
infinity0 >
will be interesting to see that in a "real language" some time
15:57
cheater has quit [Ping timeout: 264 seconds]
15:58
cheater has joined #ocaml
16:03
gasche has joined #ocaml
16:04
<
gasche >
rgrinberg: please let us know (for example on the issue tracker) if you hear of ocamlbuild-upgrade troubles
16:05
yomimono has quit [Ping timeout: 240 seconds]
16:06
<
gasche >
(this is the first release in a while that includes a change that is known to be breaking in some situations)
16:10
jabroney has joined #ocaml
16:21
ryanartecona has joined #ocaml
16:22
cheater has quit [Ping timeout: 240 seconds]
16:24
cheater has joined #ocaml
16:31
AlexDenisov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
16:36
freusque has quit [Quit: WeeChat 1.7]
16:36
dhil has quit [Ping timeout: 258 seconds]
16:38
AlexDenisov has joined #ocaml
16:38
hxegon has joined #ocaml
16:38
hxegon has quit [Client Quit]
16:39
sepp2k has joined #ocaml
16:39
copy` has joined #ocaml
16:39
hxegon has joined #ocaml
16:39
hxegon has quit [Client Quit]
16:40
thewickedaxe has quit [Ping timeout: 240 seconds]
16:41
hxegon has joined #ocaml
16:42
hxegon has quit [Client Quit]
16:42
hxegon has joined #ocaml
16:42
hxegon has quit [Client Quit]
16:42
yomimono has joined #ocaml
16:58
ryanartecona has quit [Quit: ryanartecona]
17:00
jnavila has quit [Quit: It was time]
17:17
<
kino` >
Is there a way to share a file level module with two different packed modules?
17:20
abeaumont has quit [Ping timeout: 260 seconds]
17:28
AlexDenisov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:32
<
octachron >
kino`, having copies of same compilation unit in different packs works
17:33
BitPuffin|osx has quit [Ping timeout: 240 seconds]
17:33
<
octachron >
however, they are not shared, for a module A with a type t, Pack_1.A.t ≠ Pack_2.A.t
17:36
yomimono has quit [Ping timeout: 260 seconds]
17:37
BitPuffin|osx has joined #ocaml
17:39
<
kino` >
Apparently, I can open Shared.A in Pack_1 and in Pack_2, which should do what I wanted (?)
17:44
malc_ has joined #ocaml
17:45
<
octachron >
kino`, using the same compilation unit is different packs is fine; I thought you meant to include it in several different packs
17:49
ygrek has joined #ocaml
17:49
<
kino` >
Do you know how one can contribute to ocaml.org/learn ?
17:51
spew has quit [Ping timeout: 260 seconds]
18:05
jnavila has joined #ocaml
18:07
jnavila has quit [Client Quit]
18:11
tane has joined #ocaml
18:13
larhat has joined #ocaml
18:16
jnavila has joined #ocaml
18:17
sh0t has quit [Ping timeout: 256 seconds]
18:22
larhat has quit [Quit: Leaving.]
18:29
MercurialAlchemi has joined #ocaml
18:31
sh0t has joined #ocaml
18:32
kakadu has quit [Quit: Konversation terminated!]
18:42
AlexDenisov has joined #ocaml
18:45
ryanartecona has joined #ocaml
18:49
orbifx has joined #ocaml
18:54
thewickedaxe has joined #ocaml
18:54
gasche has left #ocaml ["ERC (IRC client for Emacs 24.5.1)"]
18:55
jnavila has quit [Ping timeout: 240 seconds]
18:57
thewickedaxe has left #ocaml [#ocaml]
19:12
ygrek has quit [Ping timeout: 264 seconds]
19:12
frefity has quit [Ping timeout: 264 seconds]
19:16
jnavila has joined #ocaml
19:26
frefity has joined #ocaml
19:28
TarVanim_ has joined #ocaml
19:32
ygrek has joined #ocaml
19:36
kakadu has joined #ocaml
19:37
ryanartecona has quit [Quit: ryanartecona]
20:01
thewickedaxe has joined #ocaml
20:01
malc_ has quit [Remote host closed the connection]
20:11
spew has joined #ocaml
20:18
kino` has quit [Ping timeout: 246 seconds]
20:19
TheLemonMan has joined #ocaml
20:27
govg has quit [Ping timeout: 260 seconds]
20:28
govg has joined #ocaml
20:30
frefity has quit [Ping timeout: 256 seconds]
20:44
xmonader has quit [Ping timeout: 258 seconds]
20:48
bacam has quit [Quit: reboot]
20:48
frefity has joined #ocaml
20:48
nicoo has quit [Remote host closed the connection]
20:49
nicoo has joined #ocaml
20:50
bacam has joined #ocaml
20:57
snowcrshd has quit [Ping timeout: 258 seconds]
21:02
octachron has quit [Quit: Leaving]
21:05
dch_ has joined #ocaml
21:09
dch_ has quit [Client Quit]
21:20
jnavila has quit [Ping timeout: 240 seconds]
21:26
Simn has quit [Quit: Leaving]
21:47
kino` has joined #ocaml
21:51
hannes has quit [Quit: Coyote finally caught me]
21:52
hannes has joined #ocaml
22:03
moei has quit [Quit: Leaving...]
22:03
orbifx has quit [Ping timeout: 246 seconds]
22:05
hannes has quit [Quit: Coyote finally caught me]
22:05
moei has joined #ocaml
22:05
AlexDenisov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:05
hannes has joined #ocaml
22:06
hannes has quit [Client Quit]
22:07
hannes has joined #ocaml
22:09
<
kakadu >
Folks, can I write something like this using ppx_tools.metaquot?
22:09
<
kakadu >
[%stri class [%p Pat.var "asdf" ] = object end ]
22:11
<
kakadu >
I'm kind of curious how to write my own extension for class-related stuff
22:12
silver_ has joined #ocaml
22:13
silver has quit [Ping timeout: 246 seconds]
22:17
MercurialAlchemi has quit [Ping timeout: 256 seconds]
22:24
AltGr has left #ocaml [#ocaml]
22:55
TarVanim_ has quit [Quit: TarVanim_]
22:56
seangrove has joined #ocaml
22:56
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
23:05
<
seangrove >
Hey all, I'd like to start two unix processes with LWT concurrently, and if one fails I'd like to restart it. What module should I be looking at? I haven't been able to google any examples.
23:05
kakadu has quit [Remote host closed the connection]
23:23
ryanartecona has joined #ocaml
23:49
<
rgrinberg >
seangrove: Lwt_process
23:49
sepp2k has quit [Quit: Leaving.]
23:57
kino` has quit [Ping timeout: 260 seconds]
23:58
wtetzner has joined #ocaml
23:59
agarwal1975 has quit [Quit: agarwal1975]