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/
Soni has quit [Ping timeout: 260 seconds]
perrierjouet has quit [Quit: WeeChat 3.7.1]
bobo has quit [Read error: Connection reset by peer]
bobo has joined #ocaml
Tuplanolla has quit [Quit: Leaving.]
Haudegen has quit [Ping timeout: 260 seconds]
bobo has quit [Quit: Konversation terminated!]
gordea has quit [Quit: gordea]
perrierjouet has joined #ocaml
spip has joined #ocaml
oriba has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
perrierjouet has quit [Killed (ozone (No Spam))]
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<zebrag> `module A = struct type t = B end;;`, `let f A.B = 3;;`, `B;;` "unbound constructor B", `f B;; - : int = 3`. What is it called that I don't need to use the fully qualified form when in argument of `f` position?
Techcable has joined #ocaml
Soni has joined #ocaml
perrierjouet has joined #ocaml
perrierjouet has quit [Quit: WeeChat 3.7.1]
perrierjouet has joined #ocaml
perrierjouet has quit [Quit: WeeChat 3.7.1]
oriba has joined #ocaml
oriba has quit [Client Quit]
oriba has joined #ocaml
oriba has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
rgrinberg has joined #ocaml
perrierjouet has joined #ocaml
gentauro has quit [Read error: Connection reset by peer]
chrisz has quit [Ping timeout: 265 seconds]
gentauro has joined #ocaml
chrisz has joined #ocaml
jao has quit [Remote host closed the connection]
jao has joined #ocaml
waleee has quit [Ping timeout: 265 seconds]
calvnce has joined #ocaml
azimut has quit [Ping timeout: 255 seconds]
zebrag has quit [Quit: Konversation terminated!]
Haudegen has joined #ocaml
troydm has quit [Ping timeout: 265 seconds]
random-jellyfish has joined #ocaml
hrberg has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hrberg has joined #ocaml
TzilTzal has joined #ocaml
<TzilTzal> Hi
<TzilTzal> Is there a way to change %{project_root} into an absolute path in a dune file?
nd__ has quit [Ping timeout: 265 seconds]
Serpent7776 has joined #ocaml
nd__ has joined #ocaml
jao has quit [Ping timeout: 265 seconds]
nd__ has quit [Ping timeout: 260 seconds]
mro has joined #ocaml
bartholin has joined #ocaml
nd__ has joined #ocaml
Serpent7776 has quit [Ping timeout: 264 seconds]
Serpent7776 has joined #ocaml
random-jellyfish has quit [Quit: Client closed]
mro has quit [Remote host closed the connection]
mro has joined #ocaml
trev has joined #ocaml
TzilTzal has quit [Quit: Leaving.]
bartholin has quit [Quit: Leaving]
mbuf has joined #ocaml
neiluj has joined #ocaml
<mclovin> the next oups meetup will be on the 8th of december https://discuss.ocaml.org/t/oups-meetup-december-2022
mro has quit [Remote host closed the connection]
mro has joined #ocaml
serpent has joined #ocaml
<neiluj> hey! trying to write some data in /tmp and it says "Read-only file system"
keyboard has joined #ocaml
<neiluj> with opam install . --with-test
<neiluj> and the writing occurs in a test
<neiluj> is that a dune bug?
<neiluj> open_out_bin raises this error
<sim642> Opam does some sandboxing, but I think that should still allow /tmp access
<sim642> Does it work outside of opam install?
mro has quit [Remote host closed the connection]
<neiluj> good question, trying it
<neiluj> yes it works
<neiluj> dune test works
<neiluj> but with opam install it fails, so maybe sandboxing
<neiluj> is the culprit
<sim642> Do you have your changes committed?
<sim642> By default opam installs the latest committed state of the repo
<sim642> You need to add --working-dir if you want it to copy committed changes
<neiluj> yes changes committed
<neiluj> if I create the directory with dune test it works, the files are also created. However with opam install either the directory in /tmp doesn't exist and Sys.mkdir fails or the dir exists and open_out fails
<neiluj> with the same error read only file system,which is not the case
<neiluj> so maybe opam does something here
<neiluj> the best way would be to write inside the repo, right?
<neiluj> using an environment variable to specify the directory
<neiluj> ah yes opam install --with-test does sandboxing
<neiluj> that's why
mro has joined #ocaml
mro has quit [Quit: Leaving...]
troydm has joined #ocaml
Serpent7776 has quit [Quit: WeeChat 1.9.1]
serpent is now known as Serpent7776
wingsorc has quit [Ping timeout: 260 seconds]
olle has joined #ocaml
bobo has joined #ocaml
spip has quit [Ping timeout: 260 seconds]
azimut has joined #ocaml
<neiluj> hey! in a dune stanza I'd like to export an env var, but run expects an executable, not the export command from the shell
<neiluj> there's setenv for that :)
Haudegen has quit [Quit: Bin weg.]
azimut has quit [Remote host closed the connection]
azimut has joined #ocaml
troydm has quit [Ping timeout: 260 seconds]
Haudegen has joined #ocaml
Tuplanolla has joined #ocaml
jao has joined #ocaml
bgs has joined #ocaml
rgrinberg has joined #ocaml
olle has quit [Remote host closed the connection]
nd__ has quit [Ping timeout: 260 seconds]
azimut has quit [Remote host closed the connection]
nd__ has joined #ocaml
Haudegen has quit [Quit: Bin weg.]
mbuf has quit [Ping timeout: 268 seconds]
mbuf has joined #ocaml
azimut has joined #ocaml
mbuf has quit [Client Quit]
azimut has quit [Remote host closed the connection]
azimut has joined #ocaml
chrisz has quit [Quit: leaving]
nd__ has quit [Ping timeout: 268 seconds]
nd__ has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nd__ has quit [Remote host closed the connection]
nd__ has joined #ocaml
olle has joined #ocaml
nd__ has quit [Ping timeout: 260 seconds]
nd__ has joined #ocaml
rgrinberg has joined #ocaml
nd__ has quit [Ping timeout: 264 seconds]
bartholin has joined #ocaml
Haudegen has joined #ocaml
nd__ has joined #ocaml
deadmarshal has quit [Read error: Connection reset by peer]
deadmarshal has joined #ocaml
rgrinberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
troydm has joined #ocaml
trev has quit [Remote host closed the connection]
waleee has joined #ocaml
olle has quit [Quit: Lost terminal]
olle has joined #ocaml
Stumpfenstiel has joined #ocaml
mro has joined #ocaml
mro has quit [Quit: Leaving...]
cedric has joined #ocaml
sagax has joined #ocaml
nd__ has quit [Ping timeout: 265 seconds]
dnh has joined #ocaml
calvnce has quit [Quit: Client closed]
salkin has joined #ocaml
keyboard has quit [Ping timeout: 260 seconds]
salkin has quit [Ping timeout: 260 seconds]
neiluj has quit [Ping timeout: 260 seconds]
nd__ has joined #ocaml
nd__ has quit [Ping timeout: 268 seconds]
olle has quit [Ping timeout: 265 seconds]
darchitect has joined #ocaml
Serpent7776 has quit [Ping timeout: 248 seconds]
wingsorc has joined #ocaml
bartholin has quit [Quit: Leaving]
rgrinberg has joined #ocaml
nd__ has joined #ocaml
nd__ has quit [Ping timeout: 260 seconds]
Stumpfenstiel has quit [Ping timeout: 256 seconds]
cedric has quit [Quit: Konversation terminated!]
dnh has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nd__ has joined #ocaml
nd__ has quit [Ping timeout: 260 seconds]