jao has quit [Read error: Connection reset by peer]
jao has joined #ocaml
mfp has quit [Ping timeout: 240 seconds]
mfp has joined #ocaml
VermillionAzure has quit [Ping timeout: 260 seconds]
VermillionAzure has joined #ocaml
objmagic has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hdon has quit [Ping timeout: 255 seconds]
jao has quit [Read error: Connection reset by peer]
jao has joined #ocaml
jao has quit [Read error: Connection reset by peer]
silver_ has joined #ocaml
jao has joined #ocaml
silver has quit [Ping timeout: 268 seconds]
jao has quit [Disconnected by services]
jao has joined #ocaml
silver_ has quit [Read error: Connection reset by peer]
hdon has joined #ocaml
objmagic has joined #ocaml
nicoo has quit [Ping timeout: 250 seconds]
nicoo has joined #ocaml
jao has quit [Ping timeout: 264 seconds]
VermillionAzure has quit [Ping timeout: 240 seconds]
mfp has quit [Ping timeout: 264 seconds]
philtor has quit [Remote host closed the connection]
Jesin has joined #ocaml
exarkun has quit [Ping timeout: 264 seconds]
exarkun has joined #ocaml
pierpa has quit [Quit: Page closed]
tormen_ has joined #ocaml
tormen has quit [Ping timeout: 245 seconds]
malina has joined #ocaml
pierpal has quit [Quit: Poof]
pierpal has joined #ocaml
hdon has quit [Ping timeout: 240 seconds]
hdon has joined #ocaml
hdon has quit [Ping timeout: 268 seconds]
JimmyRcom_ has quit [Ping timeout: 240 seconds]
philtor has joined #ocaml
malina has quit [Ping timeout: 256 seconds]
steenuil_ has joined #ocaml
steenuil has quit [Ping timeout: 245 seconds]
JimmyRcom_ has joined #ocaml
exarkun has quit [Ping timeout: 256 seconds]
exarkun has joined #ocaml
shinnya has quit [Ping timeout: 264 seconds]
tarptaeya has joined #ocaml
MercurialAlchemi has joined #ocaml
ozzymcduff has joined #ocaml
cbot has quit [Quit: Leaving]
igitoor has quit [Ping timeout: 256 seconds]
rostero_ has quit [Quit: Connection closed for inactivity]
igitoor has joined #ocaml
Haudegen has joined #ocaml
hdon has joined #ocaml
hdon has quit [Ping timeout: 248 seconds]
igitoor has quit [Changing host]
igitoor has joined #ocaml
mbuf has joined #ocaml
exarkun has quit [Ping timeout: 256 seconds]
exarkun has joined #ocaml
ozzymcduff has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kamog has quit [Quit: ERC (IRC client for Emacs 26.1)]
keep_learning has quit [Remote host closed the connection]
objmagic has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ozzymcduff has joined #ocaml
xqb16141 has quit [Quit: WeeChat 2.1]
dhil has joined #ocaml
jimmyrcom has quit [Ping timeout: 240 seconds]
JimmyRcom_ has quit [Ping timeout: 240 seconds]
keep_learning has joined #ocaml
jaar has joined #ocaml
troydm has quit [Ping timeout: 256 seconds]
exarkun has quit [Ping timeout: 260 seconds]
exarkun has joined #ocaml
noitakomentaja has joined #ocaml
sh0t has joined #ocaml
troydm has joined #ocaml
troydm has quit [Ping timeout: 240 seconds]
ozzymcduff has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zolk3ri has joined #ocaml
hdon has joined #ocaml
hdon has quit [Ping timeout: 264 seconds]
troydm has joined #ocaml
ozzymcduff has joined #ocaml
troydm has quit [Ping timeout: 245 seconds]
argent_smith has joined #ocaml
jao has joined #ocaml
argent_smith1 has joined #ocaml
argent_smith has quit [Ping timeout: 256 seconds]
argent_smith has joined #ocaml
argent_smith1 has quit [Read error: Connection reset by peer]
argent_smith1 has joined #ocaml
argent_smith has quit [Ping timeout: 260 seconds]
argent_smith has joined #ocaml
argent_smith1 has quit [Ping timeout: 264 seconds]
sz0 has joined #ocaml
exarkun has quit [Ping timeout: 245 seconds]
argent_smith has quit [Quit: Leaving.]
exarkun has joined #ocaml
<rgr[m]>
Drup: could you rremind me again why you think adding version: dev to every opam file is good?
mfp has joined #ocaml
dhil has quit [Ping timeout: 260 seconds]
argent_smith has joined #ocaml
shw has quit [Quit: shw]
<Drup>
rgr[m]: because > 5 will work if the last release is 5
mbuf has quit [Read error: Connection reset by peer]
mbuf has joined #ocaml
<rgr[m]>
okay, but shouldn't work in the absence of a version field? It seems to add that boilerplate everywhere.
<Drup>
it's not boilerplate. If you pin an opam package to an opam file without a version field, it uses the last considered version, as it probably should
<rgr[m]>
When would that be desirable? When I'm pinning a package, I'm trying to install it as well
<rgr[m]>
In cases where I don't want to install it, I can set the version to w/e I want
jao has quit [Ping timeout: 240 seconds]
mfp has quit [Ping timeout: 240 seconds]
sh0t has quit [Read error: Connection reset by peer]
sh0t has joined #ocaml
hdon has joined #ocaml
Haudegen has quit [Remote host closed the connection]
<Drup>
rgr[m]: You can open a ticket on opam to complain about that
hdon has quit [Ping timeout: 260 seconds]
kakadu has joined #ocaml
<xvilka>
hi
<xvilka>
if I have an int returned from Posix-like function
<xvilka>
and want to convert into Unix.error type
<xvilka>
how I should do that?
<xvilka>
didn't found anything useful in Unix. module
<ZirconiumX>
xvilka: can you show your code?
<ZirconiumX>
The answer is usually that you can't, because of the ML type system
mbuf has quit [Ping timeout: 260 seconds]
mfp has joined #ocaml
<flux[m]>
xvilka: I believe you need to do it yourself (and not completely sure if that's possible to be as complete, I don't recall what the error actually contains..), unless you are writing C code in which case there might be a useful C function to do it for you