ShalokShalom has quit [Remote host closed the connection]
ShalokShalom has joined #ocaml
ygrek has joined #ocaml
jlouis has joined #ocaml
Guest25403 has joined #ocaml
Guest25403 has quit [Ping timeout: 255 seconds]
govg has quit [Ping timeout: 248 seconds]
govg has joined #ocaml
dakk has joined #ocaml
johnelse is now known as johnel_away
johnel_away is now known as johnelse
steve_gh has quit [Quit: Connection closed for inactivity]
sam_ has quit [Ping timeout: 248 seconds]
Guest25403 has joined #ocaml
MercurialAlchemi has quit [Ping timeout: 255 seconds]
Guest25403 has quit [Ping timeout: 255 seconds]
ShalokShalom has quit [Remote host closed the connection]
sz0 has quit [Quit: Connection closed for inactivity]
dhil has joined #ocaml
ygrek has quit [Ping timeout: 240 seconds]
al-damiri has joined #ocaml
copy_ has quit [Quit: Connection closed for inactivity]
dakk has quit [Ping timeout: 248 seconds]
_andre has joined #ocaml
surfer2007 has joined #ocaml
sz0 has joined #ocaml
jlam_ has joined #ocaml
jlam has quit [Ping timeout: 260 seconds]
Guest25403 has joined #ocaml
MercurialAlchemi has joined #ocaml
iamjarvo has joined #ocaml
Guest25403 has quit [Ping timeout: 240 seconds]
sepp2k has joined #ocaml
dhil has quit [Ping timeout: 260 seconds]
krokodil has joined #ocaml
SomeDamnBody has joined #ocaml
<krokodil>
Hi! Need some novice question about OCaml/OPAM integration. Is it alright to ask here?
<SomeDamnBody>
Does anybody know how to get opam to accept a package with a url file that is empty?
<Drup>
krokodil: sure
<Drup>
SomeDamnBody: You can simply not provide the url file
<krokodil>
I have opam package which installs file under 'share'. How do I get a full path to this file from OCaml code, taking into account current switch?
<krokodil>
I am using jbuild if that helps
<SomeDamnBody>
But then opam won't let me install it. The url file is required in order to make the package acceptable to opam-repository if I understand correctly
<SomeDamnBody>
Drup: ^
<Armael>
krokodil: running "opam config var share" will give you the path
<Armael>
I don't know if there's a better way than running this command
<Drup>
SomeDamnBody: what is your actual goal? The constraint is that the official opam repo only accepts stable things
<krokodil>
Armael: Thanks! Looks little clumsy but should work :)
<SomeDamnBody>
Drup: to merge request my package into opam repository. Currently, it works with opam pin, but when I opam repo add my fork of the respository, the build fails because I have to have a url file, and if I do provide the url file, it requires a working url, and then unpacks the code on top of my stuff
pmetzger has joined #ocaml
FreeBirdLjj has joined #ocaml
<Drup>
What does your opam file look like ?
<Drup>
(or better, point me to the PR to the opam repo)
eh_eff has joined #ocaml
eh_eff has quit [Ping timeout: 246 seconds]
samrat_ has joined #ocaml
Guest25403 has joined #ocaml
dakk has joined #ocaml
AlexDenisov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Guest25403 has quit [Ping timeout: 248 seconds]
SpiceGuid has joined #ocaml
SpiceGuid has quit [Client Quit]
iamjarvo has quit [Ping timeout: 260 seconds]
AlexDenisov has joined #ocaml
Guest25403 has joined #ocaml
Guest25403 has quit [Ping timeout: 240 seconds]
Guest25403 has joined #ocaml
surfer2007 has quit [Ping timeout: 248 seconds]
philtor has joined #ocaml
troydm has quit [Quit: What is Hope? That all of your wishes and all of your dreams come true? To turn back time because things were not supposed to happen like that (C) Rau Le Creuset]
Guest25403 has quit [Ping timeout: 240 seconds]
sz0 has quit [Quit: Connection closed for inactivity]
krokodil has quit [Ping timeout: 260 seconds]
madroach has quit [Quit: leaving]
echo_ has joined #ocaml
echo_ has quit [Ping timeout: 240 seconds]
SomeDamnBody has quit [Remote host closed the connection]
ShalokShalom has joined #ocaml
surfer2007 has joined #ocaml
nicoo has quit [Ping timeout: 248 seconds]
andreas__ has quit [Quit: Connection closed for inactivity]
nicoo has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
surfer2007 has quit [Ping timeout: 240 seconds]
FreeBirdLjj has joined #ocaml
kakadu has quit [Quit: Konversation terminated!]
FreeBirdLjj has quit [Remote host closed the connection]
troydm has joined #ocaml
sam_ has joined #ocaml
sam_ has quit [Ping timeout: 240 seconds]
jnavila has joined #ocaml
copy_ has joined #ocaml
sepp2k has quit [Ping timeout: 255 seconds]
kakadu has joined #ocaml
jlam_ is now known as jlam
pmetzger has quit []
kakadu_ has joined #ocaml
kakadu has quit [Ping timeout: 252 seconds]
eh_eff has joined #ocaml
eh_eff has quit [Ping timeout: 240 seconds]
samrat_ has quit [Ping timeout: 255 seconds]
MercurialAlchemi has quit [Ping timeout: 240 seconds]
<hannes>
when I use lazy, somehow the compiler complains about my types... and annotates its inferred type with (string, _[> `Msg of string ]) result.. what does the _ mean? and where does it come from?
<kakadu_>
I have never seen _ in places like that
<hannes>
kakadu_: in utop, #require "bos";; and let foo = lazy (Bos.OS.Cmd.(run_out Bos.Cmd.(v "uname" % "-s") |> out_string));;
<hannes>
hmm, looks like it comes from Bos.OS.Cmd.out_string, but I don't understand why it's only unhappy in the lazy case..
<Armael>
hannes: uhh, could it be the value restriction, for the type variable hidden in [> ...]?
<Armael>
(that's the only thing I can think of that would make sense for this syntax)
<hannes>
Armael: so the type of out_string is : ?trim:bool -> run_out -> (string * run_status, 'e) result
eh_eff has joined #ocaml
<Armael>
um, ok
<hannes>
oh, makes sense... I used to have a slightly different call to that, so it may be value restriction..
<rks`>
Armael: your explanation is correct.
<Armael>
cool
ayxih has joined #ocaml
surfer2007 has joined #ocaml
_andre has quit [Quit: leaving]
argent_smith has quit [Quit: Leaving.]
argent_smith has joined #ocaml
argent_smith has quit [Client Quit]
sam_ has joined #ocaml
sam_ has quit [Ping timeout: 240 seconds]
jnavila has quit [Remote host closed the connection]
enterprisey has joined #ocaml
surfer2007 has quit [Ping timeout: 260 seconds]
govg has quit [Ping timeout: 260 seconds]
Guest25403 has joined #ocaml
NaCl has joined #ocaml
NaCl has quit [Changing host]
NaCl has joined #ocaml
NaCl has left #ocaml [#ocaml]
Denommus has joined #ocaml
enterprisey has quit [Read error: Connection reset by peer]
<octachron>
kakadu, manual-ocaml-4.05 is available, the link to the last version has just not been updated but it should be fixed soonish
copy_ has quit [Quit: Connection closed for inactivity]
sam_ has joined #ocaml
enterprisey has joined #ocaml
john51 has joined #ocaml
john51 has quit [Read error: Connection reset by peer]
cbot has joined #ocaml
john51 has joined #ocaml
andreas__ has quit [Quit: Connection closed for inactivity]
Denommus has quit [Quit: going home]
surfer2007 has joined #ocaml
enterprisey has quit [Remote host closed the connection]
pierpa has joined #ocaml
Ragora has joined #ocaml
dtornabene has joined #ocaml
jimmyrcom_ has joined #ocaml
Guest25403 has quit [Read error: Connection reset by peer]
Guest25403 has joined #ocaml
enterprisey has joined #ocaml
kakadu_ has quit [Remote host closed the connection]