infinity0 has quit [Read error: Connection reset by peer]
infinity0 has joined #ocaml
infinity0 has quit [Ping timeout: 244 seconds]
infinity0 has joined #ocaml
jpds1 has quit [Ping timeout: 258 seconds]
jpds1 has joined #ocaml
reynir has joined #ocaml
Serpent7776 has joined #ocaml
orbifx has joined #ocaml
bobo_ has joined #ocaml
spip has quit [Ping timeout: 246 seconds]
jpds1 has quit [Remote host closed the connection]
jpds1 has joined #ocaml
Serpent71 has joined #ocaml
Serpent7776 has quit [Ping timeout: 265 seconds]
wingsorc__ has quit [Ping timeout: 246 seconds]
OCamlPro[m] has quit [Quit: Bridge terminating on SIGTERM]
mclovin has quit [Quit: Bridge terminating on SIGTERM]
chroma[m] has quit [Quit: Bridge terminating on SIGTERM]
David[m]1 has quit [Quit: Bridge terminating on SIGTERM]
pqwy[m] has quit [Quit: Bridge terminating on SIGTERM]
lobo[m] has quit [Quit: Bridge terminating on SIGTERM]
mclovin has joined #ocaml
spip has joined #ocaml
bobo_ has quit [Ping timeout: 252 seconds]
bobo_ has joined #ocaml
spip has quit [Ping timeout: 268 seconds]
bartholin has joined #ocaml
pqwy[m] has joined #ocaml
chroma[m] has joined #ocaml
OCamlPro[m] has joined #ocaml
lobo[m] has joined #ocaml
David[m]123 has joined #ocaml
kaustuv has joined #ocaml
<kaustuv>
If I use ppx_expect, will it cause my library to get a hard dependency on base? (ocamlobjinfo shows that a bunch of Base interfaces are imported in the .cmxa)
<hannes>
kaustuv: maybe reading https://github.com/ocaml/dune/issues/897 would be of interest to you -- I've no clue why it was in the end closed, since it seems to be still an issue.
<kaustuv>
hannes: Interesting. I don't understand the final comment by ghost. Surely the ppx rewriter can easily remove code without incurring any runtime dependencies -- cf. ppx_optcomp
<hannes>
kaustuv: I agree. I don't quite understand the way forward tbh (and instead decided to drop any expect/inline tests)
<kaustuv>
Ugh. Tried to write my own trivial rewriter to set the drop mode based on the profile, but apparently dune doesn't want to allow this: (preprocess (pps ppx_conditional_expect -p %{profile}))
<kaustuv>
> Error: No variables allowed in ppx library names
<kaustuv>
Never mind, I just misunderstood the preprocess directive. It treats %{profile} as a name because it doesn't start with -. It works if I say: (preprocess (pps ppx_conditional_expect -- -p %{profile}))