00:09
riverdc has quit [Quit: quitting]
00:09
riverdc has joined #ocaml
00:17
trillion1exabyte has quit [Ping timeout: 252 seconds]
00:19
trillion_exabyte has joined #ocaml
00:23
Hmmf has joined #ocaml
00:50
Soni has quit [Ping timeout: 256 seconds]
01:01
wingsorc has quit [Quit: Leaving]
01:01
Tuplanolla has quit [Quit: Leaving.]
01:05
wingsorc has joined #ocaml
01:21
waleee has quit [Ping timeout: 252 seconds]
03:20
gentauro has quit [Read error: Connection reset by peer]
03:20
gentauro has joined #ocaml
03:22
chrisz has quit [Ping timeout: 260 seconds]
03:24
chrisz has joined #ocaml
03:45
spip has quit [Quit: Konversation terminated!]
04:06
sim642 has joined #ocaml
04:39
<
dh` >
when can we have real signed and unsigned integer types?
04:39
<
dh` >
Int64.of_int32 doesn't bother to specify whether it's a signed or unsigned conversion, so it's useless
04:49
mbuf has joined #ocaml
05:32
azimut has joined #ocaml
05:55
<
discocaml >
<MasterBuilder> I've been using `stdint`, is there a reason to prefer this?
05:56
<
discocaml >
<geoff> I've personally only used it when I need unsigned integers
06:31
Serpent7776 has joined #ocaml
06:37
Serpent7776 has quit [Ping timeout: 248 seconds]
06:40
trev has joined #ocaml
06:48
Haudegen has joined #ocaml
07:06
jao has quit [Ping timeout: 248 seconds]
07:26
olle has joined #ocaml
07:27
olle has quit [Remote host closed the connection]
07:42
bartholin has joined #ocaml
07:42
Serpent7776 has joined #ocaml
07:48
mro has joined #ocaml
08:07
<
dh` >
malc: charming
08:07
<
dh` >
geoff: dunno if I want what I'm doing to depend on that but it's a step in the right direction at least
08:46
Soni has joined #ocaml
08:49
mro has quit [Remote host closed the connection]
08:50
trillion_exabyte has quit [Ping timeout: 248 seconds]
08:52
trillion_exabyte has joined #ocaml
09:00
mro has joined #ocaml
09:01
mro has quit [*.net *.split]
09:01
trillion_exabyte has quit [*.net *.split]
09:01
h11 has quit [*.net *.split]
09:01
zebrag[m] has quit [*.net *.split]
09:01
mclovin has quit [*.net *.split]
09:01
dmbaturin has quit [*.net *.split]
09:01
farn_ has quit [*.net *.split]
09:01
rom1504 has quit [*.net *.split]
09:01
thizanne has quit [*.net *.split]
09:01
dmbaturin has joined #ocaml
09:01
rom1504 has joined #ocaml
09:01
trillion_exabyte has joined #ocaml
09:01
thizanne has joined #ocaml
09:01
farn_ has joined #ocaml
09:02
mro has joined #ocaml
09:02
mro has quit [Remote host closed the connection]
09:02
h11 has joined #ocaml
09:03
mro has joined #ocaml
09:05
olle has joined #ocaml
09:06
mclovin has joined #ocaml
09:09
zebrag[m] has joined #ocaml
09:18
nerdypepper has left #ocaml [WeeChat 3.8]
09:37
bartholin has quit [Remote host closed the connection]
09:51
Serpent7776 has quit [Ping timeout: 252 seconds]
09:53
Serpent7776 has joined #ocaml
09:53
emp has quit [Ping timeout: 260 seconds]
09:54
emp has joined #ocaml
10:16
spip has joined #ocaml
11:26
mro has quit [Remote host closed the connection]
11:27
SquidDev2 has joined #ocaml
11:27
omni_ has joined #ocaml
11:28
ks__ has joined #ocaml
11:28
discocaml_ has joined #ocaml
11:28
riverdc_ has joined #ocaml
11:29
towel_ has joined #ocaml
11:29
goober_ has joined #ocaml
11:30
dstein64- has joined #ocaml
11:30
jsoo_ has joined #ocaml
11:30
ocabot_ has joined #ocaml
11:31
dinosaure2 has joined #ocaml
11:31
tomku|two has joined #ocaml
11:31
dme2_ has joined #ocaml
11:32
energizer_ has joined #ocaml
11:34
Haudegen has quit [Quit: Bin weg.]
11:36
riverdc has quit [*.net *.split]
11:36
tomku has quit [*.net *.split]
11:36
ks_ has quit [*.net *.split]
11:36
dinosaure1 has quit [*.net *.split]
11:36
dh` has quit [*.net *.split]
11:36
ocabot has quit [*.net *.split]
11:36
discocaml has quit [*.net *.split]
11:36
energizer has quit [*.net *.split]
11:36
xenu has quit [*.net *.split]
11:36
amk has quit [*.net *.split]
11:36
SquidDev has quit [*.net *.split]
11:36
jsoo has quit [*.net *.split]
11:36
Armael has quit [*.net *.split]
11:36
goober has quit [*.net *.split]
11:36
dstein64 has quit [*.net *.split]
11:36
omni has quit [*.net *.split]
11:36
Ekho has quit [*.net *.split]
11:36
dme2 has quit [*.net *.split]
11:36
towel has quit [*.net *.split]
11:36
asm has quit [*.net *.split]
11:36
SquidDev2 is now known as SquidDev
11:36
ks__ is now known as ks_
11:36
dstein64- is now known as dstein64
11:37
Ekho- has joined #ocaml
11:41
waleee has joined #ocaml
11:41
mro has joined #ocaml
11:41
xenu has joined #ocaml
11:42
asm has joined #ocaml
11:42
Armael has joined #ocaml
11:44
amk has joined #ocaml
11:46
mro has quit [Remote host closed the connection]
11:49
mro has joined #ocaml
11:49
wingsorc has quit [Ping timeout: 252 seconds]
11:50
dh` has joined #ocaml
11:53
Inst_ has joined #ocaml
11:56
Inst has quit [Ping timeout: 260 seconds]
12:11
Hmmf has quit [Quit: Client closed]
12:35
Haudegen has joined #ocaml
12:38
Anarchos has joined #ocaml
12:53
Anarchos has quit [Quit: Vision[]: i've been blurred!]
12:54
Anarchos has joined #ocaml
13:39
gwizon has joined #ocaml
14:13
asm has quit [Changing host]
14:13
asm has joined #ocaml
14:36
<
discocaml_ >
<Alistair> Is there a way to specify the mli of a generated Menhir parser?
14:36
<
discocaml_ >
<Lisune> 🚨🚨🚨 ALERTE SOCIALE 🚨🚨🚨
14:36
<
discocaml_ >
<Lisune>
14:36
<
discocaml_ >
<Lisune> Le 7 mars 🔥🔥🔥
14:36
<
discocaml_ >
<Lisune>
14:36
<
discocaml_ >
<Lisune> c'est la grève générale ⛔⛔⛔🏭🏭🏭
14:36
<
discocaml_ >
<Lisune> ININTERROMPUE ! 😠😠😠
14:36
<
discocaml_ >
<Lisune>
14:36
<
discocaml_ >
<Lisune> préparez vous 💪💪💪
14:37
<
discocaml_ >
<Lisune>
14:37
<
discocaml_ >
<Lisune> RASSEMBLEZ VOUS 🫂
14:37
<
discocaml_ >
<Lisune>
14:37
<
discocaml_ >
<Lisune> LE 7 MARS ON BLOQUE TOUT ET ON S'ARRÊTE PLUS 😈
14:37
<
discocaml_ >
<Lisune>
14:37
<
discocaml_ >
<Lisune> @everyone
14:37
<
discocaml_ >
<Lisune>
14:37
<
discocaml_ >
<Lisune> 🚨🚨🚨BLOCAGE CONTRE MACRON ET SON MONDE 🚨🚨🚨
14:37
<
discocaml_ >
<Lisune>
14:37
<
discocaml_ >
<Lisune> P.S: partage ce message à 20 personnes sinon tu vas tomber malade et finir de droite
14:41
<
companion_cube >
ah oops
14:49
<
discocaml_ >
<Alistair> Why doesn't dune permit you to use the `--infer` flag for menhir?
14:50
<
companion_cube >
hmm it should, no? or maybe it's because in recent versions it must be already there implicitly
14:57
John_Ivan has quit [Remote host closed the connection]
14:57
John_Ivan has joined #ocaml
14:59
<
discocaml_ >
<Alistair> I'm using dune `3.4` and it gives me the following error: "The flag --infer must not be used in a menhir stanza"
15:01
<
companion_cube >
call it with display=verbose, look at the options it gives menhir
15:01
<
companion_cube >
(with the menhir 2.0 stanza)
15:04
gwizon has quit [Quit: Lost terminal]
15:07
<
discocaml_ >
<Alistair> Options given to menhir:
15:07
<
discocaml_ >
<Alistair> ```
15:07
<
discocaml_ >
<Alistair> cd _build/default && /Users/ajob410/.opam/default/bin/menhir --explain lib/parser.mly --base lib/parser --infer-read-reply lib/parser__mock.mli.inferred
15:07
<
discocaml_ >
<Alistair> ```
15:08
<
discocaml_ >
<Alistair> Also:
15:08
<
discocaml_ >
<Alistair> ```
15:08
<
discocaml_ >
<Alistair> cd _build/default && /Users/ajob410/.opam/default/bin/menhir --explain lib/parser.mly --base lib/parser --infer-write-query lib/parser__mock.ml.mock
15:08
<
discocaml_ >
<Alistair> ```
15:08
<
companion_cube >
hu
15:09
<
companion_cube >
oh ahah
15:09
<
companion_cube >
pass `(infer true)`, not a flag
15:09
<
companion_cube >
(just looked at dune's docs)
15:09
<
companion_cube >
"this option is enabled by default with menhir language 2.0"
15:10
<
discocaml_ >
<Alistair> I'm fairly certain dune isn't working then, since I'm getting a type error for the generated one but when I run menhir manually using `--infer` I get the correct mli file (no type error)
15:11
<
companion_cube >
ask on #dune? open an issue maybe? it's weird
15:12
<
discocaml_ >
<Alistair> Alternatively is it possible to specify the `mli` for a parser?
15:16
<
discocaml_ >
<Alistair> Interestingly `(infer false)` fixes it? Did dune switch the logic of the flag?
15:16
<
companion_cube >
ah, nice
15:17
mro has quit [Remote host closed the connection]
15:21
count3rmeasure has joined #ocaml
15:36
waleee has quit [Quit: WeeChat 3.8]
15:37
Anarchos has quit [Ping timeout: 260 seconds]
15:44
olle has quit [Remote host closed the connection]
16:08
shon has joined #ocaml
16:09
gwizon has joined #ocaml
16:25
mro has joined #ocaml
16:38
xenu has quit [Ping timeout: 246 seconds]
16:40
xenu has joined #ocaml
16:43
kurfen has quit [Ping timeout: 248 seconds]
16:43
Haudegen has quit [Quit: Bin weg.]
16:43
mbuf has quit [Quit: Leaving]
16:44
count3rmeasure has quit [Quit: Leaving]
16:45
kurfen has joined #ocaml
16:51
<
vsiles >
Hi folks. I'm looking to understand what are the `ppx_driver` and `custom_ppx` predicate in META files. In what kind of context are they considered true / false ?
16:52
<
vsiles >
My current understanding is that `ppx_driver` is set when the package (let's say ppx_sexp_conv) is used a ppx deriver, so dune has to build a ppx.exe that will load ppx_sexp_conv.cmxs (more or less)
16:52
<
vsiles >
But I don't get what's `custom_ppx` and how it's different. Anyone would know (or point me to the right audience) ?
17:05
mro has quit [Quit: Leaving...]
17:35
olle has joined #ocaml
17:59
Haudegen has joined #ocaml
18:03
Tuplanolla has joined #ocaml
19:13
bartholin has joined #ocaml
19:13
<
discocaml_ >
<geoff> I feel like there is some way to specify that a library should be auto-opened in a dune libraries modules, but I can't remember how to do it (if I'm not imagining it)
19:23
<
discocaml_ >
<Et7f3 (@me on reply)> (flags -open Modules)
19:23
<
zozozo >
geoff : you can add the following field to your 'library' stanza to do that "(flags (:standard -open Some_lib))"
19:25
<
discocaml_ >
<geoff> 🙏 thanks. Considering trying to clean up the ctypes stanza generated stuff in the bindings I'm working on by switching to (`wrapped true`).
19:30
mro has joined #ocaml
19:34
<
discocaml_ >
<geoff> is it reasonable to only expose the entry point containing the `Types` and `Funcs` instances to get rid of the litter?
19:34
<
discocaml_ >
<geoff> where `C` is contains the generated instances
19:34
<
discocaml_ >
<geoff> library_c.ml -> `module C = C`
19:34
<
discocaml_ >
<geoff> library_c.mli -> `module C : module type of C`
19:43
Ekho- is now known as Ekho
19:48
waleee has joined #ocaml
19:54
azimut has joined #ocaml
20:06
azimut_ has joined #ocaml
20:06
azimut has quit [Ping timeout: 255 seconds]
20:06
shon has quit [Remote host closed the connection]
20:07
shon has joined #ocaml
20:09
shon has quit [Remote host closed the connection]
20:09
shon has joined #ocaml
20:21
mro has quit [Ping timeout: 260 seconds]
20:24
Haudegen has quit [Ping timeout: 252 seconds]
20:24
Haudegen has joined #ocaml
20:32
Haudegen has quit [Ping timeout: 255 seconds]
20:33
Haudegen has joined #ocaml
20:33
cedric has joined #ocaml
20:34
trev has quit [Remote host closed the connection]
20:35
Stumpfenstiel has joined #ocaml
20:44
waleee has quit [Ping timeout: 255 seconds]
20:56
waleee has joined #ocaml
21:05
waleee has quit [Ping timeout: 252 seconds]
21:09
waleee has joined #ocaml
21:33
motherfsck has joined #ocaml
21:45
bastienleonard has quit [Quit: WeeChat 3.8]
21:50
gwizon has quit [Quit: leaving]
21:54
bastienleonard has joined #ocaml
21:57
wingsorc has joined #ocaml
22:13
waleee has quit [Ping timeout: 255 seconds]
22:14
shon has quit [Ping timeout: 255 seconds]
22:16
shon has joined #ocaml
22:21
shon has quit [Remote host closed the connection]
22:25
shon has joined #ocaml
22:27
Serpent7776 has quit [Ping timeout: 248 seconds]
22:28
Tuplanolla has quit [Quit: Leaving.]
22:42
cedric has quit [Quit: Konversation terminated!]
22:45
waleee has joined #ocaml
22:52
waleee has quit [Ping timeout: 264 seconds]
22:54
waleee has joined #ocaml
22:54
azimut_ has quit [Ping timeout: 255 seconds]
22:56
sagax has joined #ocaml
23:04
bartholin has quit [Remote host closed the connection]
23:27
olle has quit [Ping timeout: 252 seconds]
23:40
omni has joined #ocaml
23:41
omni_ has quit [Ping timeout: 248 seconds]
23:53
Stumpfenstiel has quit [Ping timeout: 255 seconds]