boshausBA has quit [Remote host closed the connection]
malina has joined #ocaml
webshinra_ has quit [Remote host closed the connection]
webshinra_ has joined #ocaml
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 268 seconds]
francisl has joined #ocaml
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 252 seconds]
smaster has joined #ocaml
muelleme has joined #ocaml
webshinra_ has quit [Remote host closed the connection]
silver has quit [Read error: Connection reset by peer]
mfp has quit [Ping timeout: 245 seconds]
al-damiri has quit [Quit: Connection closed for inactivity]
arborardor has joined #ocaml
arborardor has left #ocaml [#ocaml]
muelleme has quit [Ping timeout: 252 seconds]
francisl has quit [Quit: francisl]
malina has quit [Remote host closed the connection]
catern has quit [Excess Flood]
catern has joined #ocaml
tormen_ has joined #ocaml
francisl has joined #ocaml
tormen has quit [Ping timeout: 252 seconds]
jerme_ has joined #ocaml
francisl has quit [Quit: francisl]
nahkisscM has joined #ocaml
nahkisscM has quit [K-Lined]
francisl has joined #ocaml
jao has quit [Ping timeout: 244 seconds]
smaster has quit [Ping timeout: 272 seconds]
neatonk has quit [Ping timeout: 268 seconds]
francisl_ has joined #ocaml
francisl has quit [Ping timeout: 252 seconds]
francisl_ is now known as francisl
sagotch has joined #ocaml
ziyourenxiang__ has joined #ocaml
kakadu has quit [Ping timeout: 252 seconds]
kakadu has joined #ocaml
Exagone313 has quit [Ping timeout: 252 seconds]
Exagone313 has joined #ocaml
ziyourenxiang__ has quit [Ping timeout: 268 seconds]
nopf has quit [Remote host closed the connection]
francisl has quit [Quit: francisl]
francisl has joined #ocaml
francisl has quit [Client Quit]
francisl has joined #ocaml
francisl has quit [Client Quit]
francisl has joined #ocaml
francisl has quit [Client Quit]
francisl has joined #ocaml
francisl has quit [Ping timeout: 252 seconds]
smaster has joined #ocaml
muelleme has joined #ocaml
jnavila has joined #ocaml
M4GNV5LD has joined #ocaml
M4GNV5LD has quit [Remote host closed the connection]
jnavila has quit [Remote host closed the connection]
muelleme has quit [Ping timeout: 245 seconds]
Jesin has quit [Ping timeout: 250 seconds]
Jesin has joined #ocaml
smaster has quit [Ping timeout: 252 seconds]
orbifx1 has joined #ocaml
carlosdagos has quit [Quit: Connection closed for inactivity]
Haudegen has joined #ocaml
cods has quit [Changing host]
cods has joined #ocaml
freyr69 has joined #ocaml
ggole has joined #ocaml
orbifx1 has quit [Ping timeout: 272 seconds]
house_of_tards has joined #ocaml
house_of_tards has quit [Remote host closed the connection]
sharp15 has joined #ocaml
sharp15 has quit [Remote host closed the connection]
m0d3rncq has joined #ocaml
m0d3rncq has quit [K-Lined]
nicoo has quit [Ping timeout: 256 seconds]
<sagotch>
How can I redefine pervasives' `open_in` function in order to use it with js_of_ocaml (redefine it with a javascript function, so that every open_in call will actually call this)?
<freyr69>
Just define a new function?
<sagotch>
I probably need to know the name given to the open_in function in javascript to replace it. I can not use another function since it is used in a lib and not in my code
geo68 has joined #ocaml
geo68 has quit [Remote host closed the connection]
<sagotch>
Ok it is actually the same name as in ocaml (so I probably need to rewrite caml_ml_open_descriptor_in or something like this)
<sagotch>
I did not try to pin ocsigen/js_of_ocaml, I could try it first...
<sagotch>
Nope... ocsigen/js_of_ocaml give the same result
_andre has joined #ocaml
Welcome has joined #ocaml
neatonk has joined #ocaml
<sagotch>
(for the record, latest versions just need `open Js_of_ocaml`)
Welcome has quit [Remote host closed the connection]
JimmyRcom has quit [Ping timeout: 252 seconds]
demonimin_ has quit [Ping timeout: 252 seconds]
demonimin has joined #ocaml
demonimin has quit [Changing host]
demonimin has joined #ocaml
<bartholin>
Is there an interesting use case of open recursion?
<ggole>
Writing functions over datatypes with many constructors where there are only a few interesting cases
<zozozo>
I'd say the visitors ppx
<Drup>
Well, ppxs in general are written using open recursion
<ggole>
It's also nice to be able to add information into a datatype, too
<ggole>
eg, you have a datatype for terms, you want to be able to represent terms that might contain a hole somewhere
<ggole>
If the term datatype is open recursive, you can do that very easily
<ggole>
Well, very easily once you've added all the necessary boilerplate to your program
freyr69 has quit [Remote host closed the connection]
al-damiri has joined #ocaml
plat_hz has joined #ocaml
TheLemonMan has joined #ocaml
plat_hz has quit [Remote host closed the connection]
smeggysmegsL has joined #ocaml
smeggysmegsL has quit [Remote host closed the connection]
<companion_cube>
hmmmmmm does the docker-travis script not install test dependencies‽
roygbiv has joined #ocaml
jaar_ has quit [Ping timeout: 252 seconds]
plankers has joined #ocaml
plankers has quit [Remote host closed the connection]
rwmjones is now known as rwmjones|hols
fraxamo has joined #ocaml
roygbiv has quit [Quit: ™]
quipa has quit [Ping timeout: 246 seconds]
quipa has joined #ocaml
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
sagotch has quit [Quit: Leaving.]
TheLemonMan has joined #ocaml
jnavila has joined #ocaml
fraxamo has quit [Quit: Leaving]
ggole has quit [Quit: ggole]
orbifx1 has joined #ocaml
muelleme has joined #ocaml
francisl has quit [Quit: francisl]
jnavila has quit [Ping timeout: 252 seconds]
jack5638 has quit [Ping timeout: 244 seconds]
smaster has joined #ocaml
jack5638 has joined #ocaml
muelleme has quit [Read error: Connection reset by peer]
muelleme has joined #ocaml
kakadu_ has joined #ocaml
francisl has joined #ocaml
rambocoder has joined #ocaml
coventry has joined #ocaml
orbifx1 has quit [Ping timeout: 244 seconds]
francisl has quit [Quit: francisl]
crypt17 has joined #ocaml
crypt17 has quit [Remote host closed the connection]
<coventry>
Do I need to add a repository to opam, to get dune 1.3.0? `opam install dune.1.3.0` gives me `No package matches`, in both 4.06.1 and 4.07.0 switches.
<companion_cube>
have you `opam update` ?
<coventry>
Yes. Just did it again to make sure, same error.
<companion_cube>
do you have opam2 ?
<coventry>
It's opam version 1.2.2. Maybe I should upgrade opam itself.
<coventry>
Jinx.
<companion_cube>
yep
<companion_cube>
the repo moved to opam2
<coventry>
Ah, OK. Thanks!
coventry has quit [Remote host closed the connection]
TheLemonMan has quit [Quit: "It's now safe to turn off your computer."]
jnavila has joined #ocaml
muelleme has quit [Ping timeout: 272 seconds]
pierpal has joined #ocaml
smaster has quit [Ping timeout: 245 seconds]
neatonk has quit [Ping timeout: 246 seconds]
TJ-Jk has joined #ocaml
TJ-Jk has quit [K-Lined]
smaster has joined #ocaml
jnavila has quit [Remote host closed the connection]
bartholin has quit [Remote host closed the connection]
erkin has quit [Remote host closed the connection]
nullifidian has quit [Ping timeout: 252 seconds]
orbifx1 has joined #ocaml
orbifx1 has quit [Ping timeout: 252 seconds]
nullifidian has joined #ocaml
steenuil has joined #ocaml
kakadu_ has quit [Remote host closed the connection]
muelleme has joined #ocaml
smaster has quit [Ping timeout: 268 seconds]
coventry has joined #ocaml
smaster has joined #ocaml
muelleme has quit [Ping timeout: 260 seconds]
nicoo has quit [Ping timeout: 256 seconds]
spew has quit [Quit: Connection closed for inactivity]
neatonk has joined #ocaml
quipa has quit [Ping timeout: 252 seconds]
fnurglewitzfo has joined #ocaml
ehwuB has joined #ocaml
pierpal has quit [Read error: Connection reset by peer]
Mahaluz has joined #ocaml
ehwuB has quit [K-Lined]
fnurglewitzfo has quit [Remote host closed the connection]
Mahaluz has quit [Remote host closed the connection]
rambocoder has quit [Quit: Connection closed for inactivity]