adrien changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | OCaml 4.06.0 release notes: https://caml.inria.fr/pub/distrib/ocaml-4.06/notes/Changes | Try OCaml in your browser: http://try.ocamlpro.com | Public channel logs at http://irclog.whitequark.org/ocaml
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
<xvilka> ZirconiumX: https://pastebin.com/bNRVRP1R
<xvilka> I am basically using librados through ctypes
<xvilka> ignore "let errmsg = ..." since I thought Unix.error_message would take int as an input
<ZirconiumX> So this is a C FFI module?
<xvilka> ZirconiumX: no C, just FFI, yes
<ZirconiumX> I think you'd need to define your own error types and then convert to that
<ZirconiumX> FFI to C
<xvilka> ZirconiumX: it is not my library and it uses standard POSIX error numbers (like in Unix.error)
<ZirconiumX> How about a type alias?
<octachron> xvilka, if you are making a binding with ctypes, you should make a ctype view that returns an Unix.error directly
<ZirconiumX> But I'll defer to a dev on that
noitakomentaja has quit [Remote host closed the connection]
noitakomentaja has joined #ocaml
noitakomentaja has quit [Remote host closed the connection]
noitakomentaja has joined #ocaml
spew has joined #ocaml
exarkun has quit [Ping timeout: 264 seconds]
exarkun has joined #ocaml
ozzymcduff has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ozzymcduff has joined #ocaml
spew has quit [Ping timeout: 268 seconds]
sz0 has quit [Quit: Connection closed for inactivity]
Haudegen has joined #ocaml
silver has joined #ocaml
jimmyrcom has joined #ocaml
dhil has joined #ocaml
jimmyrcom has quit [Ping timeout: 256 seconds]
spew has joined #ocaml
gonz_ has quit [Quit: The Lounge - https://thelounge.github.io]
hdon has joined #ocaml
gonz_ has joined #ocaml
hdon has quit [Ping timeout: 264 seconds]
jnavila has joined #ocaml
aciniglio has joined #ocaml
ozzymcduff has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gpietro has joined #ocaml
sh0t has quit [Read error: Connection reset by peer]
_andre has joined #ocaml
jnavila has quit [Ping timeout: 256 seconds]
ziyourenxiang_ has joined #ocaml
jnavila has joined #ocaml
neatonk has joined #ocaml
MercurialAlchemi has quit [Ping timeout: 264 seconds]
lesh has joined #ocaml
dhil has quit [Ping timeout: 268 seconds]
pierpal has quit [Remote host closed the connection]
ozzymcduff has joined #ocaml
malina has joined #ocaml
trevorriles has joined #ocaml
FreeBirdLjj has joined #ocaml
barcabuona has joined #ocaml
dhil has joined #ocaml
Denommus has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
tarptaeya has quit [Remote host closed the connection]
tarptaeya has joined #ocaml
noitakomentaja has quit [Ping timeout: 250 seconds]
hdon has joined #ocaml
exarkun has quit [Read error: Connection reset by peer]
hdon has quit [Ping timeout: 255 seconds]
FreeBirdLjj has joined #ocaml
ygrek has joined #ocaml
exarkun has joined #ocaml
pierpal has joined #ocaml
tarptaeya has quit [Remote host closed the connection]
tarptaeya has joined #ocaml
trevorriles has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pierpal has quit [Quit: Poof]
pierpal has joined #ocaml
trevorriles has joined #ocaml
ozzymcduff has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
freusque has quit [Quit: WeeChat 2.0]
zolk3ri has quit [Ping timeout: 245 seconds]
hdon has joined #ocaml
zolk3ri has joined #ocaml
hdon has quit [Ping timeout: 240 seconds]
sz0 has joined #ocaml
mk9 has joined #ocaml
jimmyrcom has joined #ocaml
shinnya has joined #ocaml
Haudegen has quit [Remote host closed the connection]
trevorriles has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
trevorriles has joined #ocaml
exarkun has quit [Read error: Connection reset by peer]
trevorriles has quit [Ping timeout: 265 seconds]
shinnya has quit [Ping timeout: 264 seconds]
FreeBirdLjj has quit [Remote host closed the connection]
exarkun has joined #ocaml
ozzymcduff has joined #ocaml
objmagic has joined #ocaml
objmagic has quit [Client Quit]
objmagic has joined #ocaml
ozzymcduff has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
silver has quit [Read error: Connection reset by peer]
mk9 has quit [Quit: mk9]
neatonk has quit [Ping timeout: 256 seconds]
jaar has quit [Ping timeout: 256 seconds]
Fardale is now known as halfardale
halfardale is now known as Fardale
barcabuona has quit [Quit: WeeChat 2.1]
objmagic_ has joined #ocaml
malina has quit [Ping timeout: 240 seconds]
sz0 has quit []
objmagic has quit [Ping timeout: 260 seconds]
silver has joined #ocaml
ozzymcduff has joined #ocaml
troydm has joined #ocaml
Guest99648 has joined #ocaml
ozzymcduff has quit [Client Quit]
tarptaeya has quit [Quit: Konversation terminated!]
hdon has joined #ocaml
neatonk has joined #ocaml
exarkun has quit [Read error: Connection reset by peer]
jaar has joined #ocaml
exarkun has joined #ocaml
VermillionAzure has joined #ocaml
malina has joined #ocaml
dhil has quit [Ping timeout: 264 seconds]
mcspud has quit [Ping timeout: 260 seconds]
malina has quit [Ping timeout: 264 seconds]
Guest99648 is now known as Haudegen
larhat has joined #ocaml
sz0 has joined #ocaml
kakadu has quit [Quit: Konversation terminated!]
hdon has quit [Changing host]
hdon has joined #ocaml
VermillionAzure has quit [Ping timeout: 264 seconds]
yomimono has quit [Ping timeout: 255 seconds]
yomimono has joined #ocaml
ars23 has joined #ocaml
malina has joined #ocaml
pierpal has quit [Remote host closed the connection]
aciniglio has quit [Ping timeout: 245 seconds]
exarkun is now known as exarkun_
isd has joined #ocaml
fwx has joined #ocaml
Denommus` has joined #ocaml
VermillionAzure has joined #ocaml
Denommus has quit [Ping timeout: 240 seconds]
jack5638 has quit [Ping timeout: 240 seconds]
kakadu has joined #ocaml
exarkun_ has left #ocaml [#ocaml]
nicoo has quit [Read error: Connection reset by peer]
jack5638 has joined #ocaml
nicoo has joined #ocaml
fwx has quit [Ping timeout: 240 seconds]
objmagic_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
JimmyRcom_ has joined #ocaml
JimmyRcom_ has quit [Ping timeout: 276 seconds]
zolk3ri has quit [Ping timeout: 264 seconds]
JimmyRcom_ has joined #ocaml
trevorriles has joined #ocaml
zolk3ri has joined #ocaml
Haudegen has quit [Remote host closed the connection]
JimmyRcom_ has quit [Ping timeout: 240 seconds]
hdon has quit [Quit: leaving]
jaar has quit [Ping timeout: 245 seconds]
Haudegen has joined #ocaml
neatonk has quit [Ping timeout: 240 seconds]
ars23 has quit [Quit: Leaving]
pierpa has joined #ocaml
trevorriles has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ozzymcduff has joined #ocaml
objmagic has joined #ocaml
yomimono has quit [Ping timeout: 276 seconds]
argent_smith has quit [Ping timeout: 240 seconds]
ozzymcduff has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orbifx has joined #ocaml
jnavila has quit [Quit: Konversation terminated!]
isd has quit [Ping timeout: 256 seconds]
theblatte has quit [Ping timeout: 256 seconds]
theblatte has joined #ocaml
_andre has quit [Quit: leaving]
troydm has quit [Ping timeout: 260 seconds]
objmagic has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
VermillionAzure has quit [Ping timeout: 240 seconds]
larhat has quit [Quit: Leaving.]
isd has joined #ocaml
spew has quit [Quit: Connection closed for inactivity]
Haudegen has quit [Remote host closed the connection]
orbifx has quit [Ping timeout: 264 seconds]
yomimono has joined #ocaml
gpietro has quit [Remote host closed the connection]
kakadu has quit [Remote host closed the connection]
VermillionAzure has joined #ocaml
ygrek has quit [Ping timeout: 256 seconds]
neatonk has joined #ocaml
tormen_ has quit [Ping timeout: 260 seconds]
tormen has joined #ocaml
objmagic has joined #ocaml
yomimono has quit [Quit: Lost terminal]
shw has joined #ocaml
Jesin has quit [Quit: Leaving]
Jesin has joined #ocaml