companion_cube changed the topic of #ocaml to: Discussion about the OCaml programming language | http://www.ocaml.org | OCaml 4.14.0 released: https://ocaml.org/releases/4.14.0.html | Try OCaml in your browser: https://try.ocamlpro.com | Public channel logs at https://libera.irclog.whitequark.org/ocaml/
riverdc has quit [Quit: quitting]
riverdc has joined #ocaml
trillion1exabyte has quit [Ping timeout: 252 seconds]
trillion_exabyte has joined #ocaml
Hmmf has joined #ocaml
Soni has quit [Ping timeout: 256 seconds]
wingsorc has quit [Quit: Leaving]
Tuplanolla has quit [Quit: Leaving.]
wingsorc has joined #ocaml
waleee has quit [Ping timeout: 252 seconds]
gentauro has quit [Read error: Connection reset by peer]
gentauro has joined #ocaml
chrisz has quit [Ping timeout: 260 seconds]
chrisz has joined #ocaml
spip has quit [Quit: Konversation terminated!]
sim642 has joined #ocaml
<dh`> blaaaah
<dh`> when can we have real signed and unsigned integer types?
<dh`> Int64.of_int32 doesn't bother to specify whether it's a signed or unsigned conversion, so it's useless
mbuf has joined #ocaml
azimut has joined #ocaml
<discocaml> <MasterBuilder> I've been using `stdint`, is there a reason to prefer this?
<discocaml> <geoff> I've personally only used it when I need unsigned integers
Serpent7776 has joined #ocaml
Serpent7776 has quit [Ping timeout: 248 seconds]
trev has joined #ocaml
Haudegen has joined #ocaml
jao has quit [Ping timeout: 248 seconds]
olle has joined #ocaml
olle has quit [Remote host closed the connection]
bartholin has joined #ocaml
Serpent7776 has joined #ocaml
mro has joined #ocaml
<dh`> malc: charming
<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
Soni has joined #ocaml
mro has quit [Remote host closed the connection]
trillion_exabyte has quit [Ping timeout: 248 seconds]
trillion_exabyte has joined #ocaml
mro has joined #ocaml
mro has quit [*.net *.split]
trillion_exabyte has quit [*.net *.split]
h11 has quit [*.net *.split]
zebrag[m] has quit [*.net *.split]
mclovin has quit [*.net *.split]
dmbaturin has quit [*.net *.split]
farn_ has quit [*.net *.split]
rom1504 has quit [*.net *.split]
thizanne has quit [*.net *.split]
dmbaturin has joined #ocaml
rom1504 has joined #ocaml
trillion_exabyte has joined #ocaml
thizanne has joined #ocaml
farn_ has joined #ocaml
mro has joined #ocaml
mro has quit [Remote host closed the connection]
h11 has joined #ocaml
mro has joined #ocaml
olle has joined #ocaml
mclovin has joined #ocaml
zebrag[m] has joined #ocaml
nerdypepper has left #ocaml [WeeChat 3.8]
bartholin has quit [Remote host closed the connection]
Serpent7776 has quit [Ping timeout: 252 seconds]
Serpent7776 has joined #ocaml
emp has quit [Ping timeout: 260 seconds]
emp has joined #ocaml
spip has joined #ocaml
mro has quit [Remote host closed the connection]
SquidDev2 has joined #ocaml
omni_ has joined #ocaml
ks__ has joined #ocaml
discocaml_ has joined #ocaml
riverdc_ has joined #ocaml
towel_ has joined #ocaml
goober_ has joined #ocaml
dstein64- has joined #ocaml
jsoo_ has joined #ocaml
ocabot_ has joined #ocaml
dinosaure2 has joined #ocaml
tomku|two has joined #ocaml
dme2_ has joined #ocaml
energizer_ has joined #ocaml
Haudegen has quit [Quit: Bin weg.]
riverdc has quit [*.net *.split]
tomku has quit [*.net *.split]
ks_ has quit [*.net *.split]
dinosaure1 has quit [*.net *.split]
dh` has quit [*.net *.split]
ocabot has quit [*.net *.split]
discocaml has quit [*.net *.split]
energizer has quit [*.net *.split]
xenu has quit [*.net *.split]
amk has quit [*.net *.split]
SquidDev has quit [*.net *.split]
jsoo has quit [*.net *.split]
Armael has quit [*.net *.split]
goober has quit [*.net *.split]
dstein64 has quit [*.net *.split]
omni has quit [*.net *.split]
Ekho has quit [*.net *.split]
dme2 has quit [*.net *.split]
towel has quit [*.net *.split]
asm has quit [*.net *.split]
SquidDev2 is now known as SquidDev
ks__ is now known as ks_
dstein64- is now known as dstein64
Ekho- has joined #ocaml
waleee has joined #ocaml
mro has joined #ocaml
xenu has joined #ocaml
asm has joined #ocaml
Armael has joined #ocaml
amk has joined #ocaml
mro has quit [Remote host closed the connection]
mro has joined #ocaml
wingsorc has quit [Ping timeout: 252 seconds]
dh` has joined #ocaml
Inst_ has joined #ocaml
Inst has quit [Ping timeout: 260 seconds]
Hmmf has quit [Quit: Client closed]
Haudegen has joined #ocaml
Anarchos has joined #ocaml
Anarchos has quit [Quit: Vision[]: i've been blurred!]
Anarchos has joined #ocaml
gwizon has joined #ocaml
asm has quit [Changing host]
asm has joined #ocaml
<discocaml_> <Alistair> Is there a way to specify the mli of a generated Menhir parser?
<discocaml_> <Lisune> 🚨🚨🚨 ALERTE SOCIALE 🚨🚨🚨
<discocaml_> <Lisune>
<discocaml_> <Lisune> Le 7 mars 🔥🔥🔥
<discocaml_> <Lisune>
<discocaml_> <Lisune> c'est la grève générale ⛔⛔⛔🏭🏭🏭
<discocaml_> <Lisune> ININTERROMPUE ! 😠😠😠
<discocaml_> <Lisune>
<discocaml_> <Lisune> préparez vous 💪💪💪
<discocaml_> <Lisune>
<discocaml_> <Lisune> RASSEMBLEZ VOUS 🫂
<discocaml_> <Lisune>
<discocaml_> <Lisune> LE 7 MARS ON BLOQUE TOUT ET ON S'ARRÊTE PLUS 😈
<discocaml_> <Lisune>
<discocaml_> <Lisune> @everyone
<discocaml_> <Lisune>
<discocaml_> <Lisune> 🚨🚨🚨BLOCAGE CONTRE MACRON ET SON MONDE 🚨🚨🚨
<discocaml_> <Lisune>
<discocaml_> <Lisune> P.S: partage ce message à 20 personnes sinon tu vas tomber malade et finir de droite
<companion_cube> ah oops
<Armael> :DD
<discocaml_> <Alistair> Why doesn't dune permit you to use the `--infer` flag for menhir?
<companion_cube> hmm it should, no? or maybe it's because in recent versions it must be already there implicitly
John_Ivan has quit [Remote host closed the connection]
John_Ivan has joined #ocaml
<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"
<companion_cube> call it with display=verbose, look at the options it gives menhir
<companion_cube> (with the menhir 2.0 stanza)
gwizon has quit [Quit: Lost terminal]
<discocaml_> <Alistair> Options given to menhir:
<discocaml_> <Alistair> ```
<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
<discocaml_> <Alistair> ```
<discocaml_> <Alistair> Also:
<discocaml_> <Alistair> ```
<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
<discocaml_> <Alistair> ```
<companion_cube> hu
<companion_cube> oh ahah
<companion_cube> pass `(infer true)`, not a flag
<companion_cube> (just looked at dune's docs)
<companion_cube> "this option is enabled by default with menhir language 2.0"
<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)
<companion_cube> ask on #dune? open an issue maybe? it's weird
<discocaml_> <Alistair> Alternatively is it possible to specify the `mli` for a parser?
<discocaml_> <Alistair> Interestingly `(infer false)` fixes it? Did dune switch the logic of the flag?
<discocaml_> <mbacarella> companion_cube: not sure if you saw this PR, https://github.com/mransan/ocaml-protoc/pull/186 I marked it as Draft first but it's ready now
<companion_cube> ah, nice
mro has quit [Remote host closed the connection]
count3rmeasure has joined #ocaml
waleee has quit [Quit: WeeChat 3.8]
Anarchos has quit [Ping timeout: 260 seconds]
olle has quit [Remote host closed the connection]
shon has joined #ocaml
gwizon has joined #ocaml
mro has joined #ocaml
xenu has quit [Ping timeout: 246 seconds]
xenu has joined #ocaml
kurfen has quit [Ping timeout: 248 seconds]
Haudegen has quit [Quit: Bin weg.]
mbuf has quit [Quit: Leaving]
count3rmeasure has quit [Quit: Leaving]
kurfen has joined #ocaml
<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 ?
<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)
<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) ?
mro has quit [Quit: Leaving...]
olle has joined #ocaml
Haudegen has joined #ocaml
Tuplanolla has joined #ocaml
bartholin has joined #ocaml
<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)
<discocaml_> <Et7f3 (@me on reply)> (flags -open Modules)
<zozozo> geoff : you can add the following field to your 'library' stanza to do that "(flags (:standard -open Some_lib))"
<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`).
mro has joined #ocaml
<discocaml_> <geoff> is it reasonable to only expose the entry point containing the `Types` and `Funcs` instances to get rid of the litter?
<discocaml_> <geoff> where `C` is contains the generated instances
<discocaml_> <geoff> library_c.ml -> `module C = C`
<discocaml_> <geoff> library_c.mli -> `module C : module type of C`
Ekho- is now known as Ekho
waleee has joined #ocaml
azimut has quit [Quit: ZNC - https://znc.in]
azimut has joined #ocaml
azimut_ has joined #ocaml
azimut has quit [Ping timeout: 255 seconds]
shon has quit [Remote host closed the connection]
shon has joined #ocaml
shon has quit [Remote host closed the connection]
shon has joined #ocaml
mro has quit [Ping timeout: 260 seconds]
Haudegen has quit [Ping timeout: 252 seconds]
Haudegen has joined #ocaml
Haudegen has quit [Ping timeout: 255 seconds]
Haudegen has joined #ocaml
cedric has joined #ocaml
trev has quit [Remote host closed the connection]
Stumpfenstiel has joined #ocaml
waleee has quit [Ping timeout: 255 seconds]
waleee has joined #ocaml
waleee has quit [Ping timeout: 252 seconds]
waleee has joined #ocaml
motherfsck has joined #ocaml
bastienleonard has quit [Quit: WeeChat 3.8]
gwizon has quit [Quit: leaving]
bastienleonard has joined #ocaml
wingsorc has joined #ocaml
waleee has quit [Ping timeout: 255 seconds]
shon has quit [Ping timeout: 255 seconds]
shon has joined #ocaml
shon has quit [Remote host closed the connection]
shon has joined #ocaml
Serpent7776 has quit [Ping timeout: 248 seconds]
Tuplanolla has quit [Quit: Leaving.]
cedric has quit [Quit: Konversation terminated!]
waleee has joined #ocaml
waleee has quit [Ping timeout: 264 seconds]
waleee has joined #ocaml
azimut_ has quit [Ping timeout: 255 seconds]
sagax has joined #ocaml
bartholin has quit [Remote host closed the connection]
olle has quit [Ping timeout: 252 seconds]
omni has joined #ocaml
omni_ has quit [Ping timeout: 248 seconds]
Stumpfenstiel has quit [Ping timeout: 255 seconds]