ChanServ changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | http://www.ocaml.org | OCaml 4.01.0 announce at http://bit.ly/1851A3R | Logs at http://irclog.whitequark.org/ocaml
strmpnk____ has joined #ocaml
rgrinberg has joined #ocaml
divyanshu__ has joined #ocaml
toroidalcode_ has joined #ocaml
ski_ has joined #ocaml
zozozo has joined #ocaml
Wandering_Glitch has joined #ocaml
pollux__ has joined #ocaml
bcucciol1 has joined #ocaml
johnelse has joined #ocaml
rks`_ has joined #ocaml
xaimus_ has joined #ocaml
ohama has quit [Disconnected by services]
gargawel_ has joined #ocaml
johnelse is now known as Guest38898
cross_ has joined #ocaml
sivoais_ has joined #ocaml
ohama has joined #ocaml
weykent has joined #ocaml
boegel_ has quit [Excess Flood]
WanderingGlitch has quit [Remote host closed the connection]
pollux has quit [Remote host closed the connection]
pollux__ is now known as pollux
rks` has quit [Write error: Connection reset by peer]
toroidalcode has quit [Write error: Connection reset by peer]
zozozo_ has quit [Write error: Broken pipe]
Guest95637 has quit [Write error: Connection reset by peer]
bcuccioli has quit [Write error: Broken pipe]
gargawel has quit [Write error: Broken pipe]
flux has quit [Write error: Connection reset by peer]
sivoais has quit [Write error: Broken pipe]
_weykent has quit [Quit: ZNC - http://znc.in]
cross has quit [Remote host closed the connection]
xaimus has quit [Remote host closed the connection]
flx is now known as flux
boegel_ has joined #ocaml
ski has quit [Remote host closed the connection]
divyanshu_ has quit [Ping timeout: 257 seconds]
strmpnk___ has quit [Ping timeout: 257 seconds]
divyanshu__ is now known as divyanshu_
fold has joined #ocaml
silverpuff has joined #ocaml
philtor has joined #ocaml
q66[lap] has quit [Quit: Textual IRC Client: www.textualapp.com]
Muzer has quit [Excess Flood]
araujo has quit [Ping timeout: 250 seconds]
philtor has quit [Ping timeout: 240 seconds]
WraithM has joined #ocaml
araujo has joined #ocaml
Muzer has joined #ocaml
WraithM has quit [Ping timeout: 260 seconds]
pyx has joined #ocaml
mal`` has quit [Remote host closed the connection]
pyx has quit [Quit: WeeChat 0.4.3]
mal`` has joined #ocaml
lordkryss has quit [Quit: Connection closed for inactivity]
mal`` has quit [Remote host closed the connection]
q66 has quit [Quit: Leaving]
araujo has quit [Ping timeout: 240 seconds]
araujo has joined #ocaml
mal`` has joined #ocaml
manud has quit [Quit: manud]
rgrinberg has quit [Quit: Leaving.]
manud has joined #ocaml
<Denommus> hm
<Denommus> weird
<Denommus> I have this function `let (&&&): ('a, 'b) sf -> ('a, 'c) sf -> ('a, 'b * 'c) sf = fun sf1 sf2 s t -> (sf1 s t, sf2 s t)`
<Denommus> if I write instead `let (&&&) sf1 sf2 s t: ('a, 'b) sf -> ('a, 'c) sf -> ('a, 'b * 'c) sf = (sf1 s t, sf2 s t)`, it gives me a type error
<Denommus> oh, and given type 'a signal = float -> 'a;; type ('a, 'b) sf = 'a signal -> 'b signal;;
<hnrgrgr> Denommus: the syntax "let f x : int = ..." means the _return type_ of 'f' is int.
ZenosDance has joined #ocaml
<Denommus> hnrgrgr: ah
BitPuffin has quit [Ping timeout: 250 seconds]
rgrinberg has joined #ocaml
darkf has quit [Ping timeout: 240 seconds]
dav has joined #ocaml
darkf has joined #ocaml
jao has quit [Ping timeout: 250 seconds]
fold has quit [Ping timeout: 240 seconds]
philtom has joined #ocaml
<pyon> Does OCaml allow polymorphic recursion?
samrat has joined #ocaml
<pyon> Ah, nice! Checking.
SGrondin has joined #ocaml
sivoais_ is now known as sivoais
sivoais has joined #ocaml
sivoais has quit [Changing host]
WraithM has joined #ocaml
samrat has quit [Quit: Computer has gone to sleep.]
WraithM has quit [Ping timeout: 245 seconds]
dav has quit [Read error: Connection reset by peer]
pkrnj has joined #ocaml
isms has joined #ocaml
isms has quit [Client Quit]
MercurialAlchemi has joined #ocaml
siddhart1v_away is now known as siddharthv
Wandering_Glitch is now known as WanderingGlitch
WanderingGlitch has quit [Changing host]
WanderingGlitch has joined #ocaml
pkrnj has quit [Quit: Computer has gone to sleep.]
pkrnj has joined #ocaml
axiles has joined #ocaml
alexey_ has quit [Quit: leaving]
ZenosDance has quit [Ping timeout: 240 seconds]
manud has quit [Ping timeout: 240 seconds]
pkrnj has quit [Quit: Computer has gone to sleep.]
slash^ has joined #ocaml
araujo has quit [Quit: Leaving]
SGrondin has quit [Quit: Leaving.]
pkrnj has joined #ocaml
samrat has joined #ocaml
pkrnj has quit [Quit: Computer has gone to sleep.]
wemeetagain has joined #ocaml
pkrnj has joined #ocaml
fold has joined #ocaml
pkrnj has quit [Client Quit]
<wemeetagain> hello, ocaml newb here, looking to interact with: type rlp = | String of string | List of rlp list;; but having some difficulty.. It looks as though this type doesn't know how to use ::. So: String "Hello" :: List ["world"];; does not work. I feel that I'm missing something big here.. wondering if anyone can help
philtom has quit [Ping timeout: 245 seconds]
<asmanur> It's because it should be List [String "world"] wormphle1m ?
<asmanur> because List expects a list of rlp's not a list of strings
<wemeetagain> Oh, whoops, thats what I meant
<wemeetagain> it still doesnt like that
<wemeetagain> I'm feeling like I need to somehow define :: for this type
<wemeetagain> but
<def`> :: [] to close the list
<wemeetagain> but then I get an rlp list, rather than a List
<wemeetagain> and its no longer of type rlp, its of type rlp list
<def`> :P
<wemeetagain> maybe I'm just trying to do something impossible?
<wemeetagain> I'm not entirely sure
<def`> String "Hello" :: List [String "World"] :: []
<def`> is a list
<def`> List (String "Hello" :: List [String "World"] :: [])
<def`> is an rlp
<wemeetagain> ahhh, ok
<def`> equals to List [String "hello"; List [String "World"]]
<def`> you can't mix _ list and rlp, but you created the List constructor to inject one into the other
<wemeetagain> mm, yea
fold has quit [Ping timeout: 245 seconds]
<wemeetagain> so then how would I append a String to a List?
<wemeetagain> thats I guess what I'm grappling with
<flux> let append string list = match list with | String _ -> failwith "cannot add a string to a string" | List xs -> List (string::xs)
<flux> actually List (String string::xs)
<flux> and actually that prepends, not appends :)
<wemeetagain> ah, yeah, thats actually wht I meant
<wemeetagain> I'm wondering how this is different than just using ::, which doesnt work
<wemeetagain> I mean, this prepend function works, but I'm now a bit confused that it worked, yet a similar expression without the function doesnt work
<wemeetagain> ohhh, it seperates xs, the underlying List from the argument 'list'
<wemeetagain> *the underlying list
<def`> yes
<wemeetagain> beautiful
<wemeetagain> these are some tricky intricacies
<wemeetagain> but I guess it makes sense, the :: wasnt working on a List, it DOES however work on a list
rgrinberg has quit [Quit: Leaving.]
<wemeetagain> curious, are there any default standard names for arguments?
<wemeetagain> er, even for a function
<wemeetagain> like if you have a function that does something, but in reverse, I imagine I'd add a _rev to the end of its name
<wemeetagain> can you share a bit of the conventions behind the naming?
<wemeetagain> thats a big thing I worry about, looking at even the small bit of code I've written
<wemeetagain> its so easy to write stuff but later look back and not even know what I was doing
<wemeetagain> just because the names are not..... optimal
<def`> wemeetagain: looking at the stdlib, you'll find
<def`> List.append & List.rev_append, List.map & List.rev_map, etc.
<wemeetagain> ah, ok, so the convention is to prepend the rev
<wemeetagain> and I've also seen xtype_from_ytype and also ytype_to_xtype
<wemeetagain> is there a better naming between the two
rgrinberg has joined #ocaml
MercurialAlchemi has quit [Remote host closed the connection]
dubst3pp4 has joined #ocaml
MercurialAlchemi has joined #ocaml
<wemeetagain> def`: flux: thank you so much for the help. It can be a little tricky for a beginner, even if you have experience with other programming languages. Sometimes, even the tiniest push can make all the difference. :)
<def`> wemeetagain: you're welcome
<def`> the xtype_from_type (or sometime xtype_of_ytype) reads better with function composition
<def`> xtype_of_ytype (ytype_of_ztype z)
<def`> but that's mostly a matter of taste. I use either of or to depending on what is the most specific object to me (in a module, like SpecificObject.to_genericone / of_genericone)
<wemeetagain> ok, thanks
<wemeetagain> Yeah, the of/from seems to read better in a lot of cases
studybo__ has joined #ocaml
studybot_ has quit [Ping timeout: 264 seconds]
studybo__ is now known as studybot
zarul has joined #ocaml
eikke__ has joined #ocaml
wemeetagain has quit [Quit: WeeChat 1.0]
avsm has joined #ocaml
path[l] has joined #ocaml
MercurialAlchemi has quit [Remote host closed the connection]
<path[l]> Hi everyone, I’m trying to build this project on my machine https://github.com/jaked/deriving and when I try to make the tests it gives me a bunch of warnings about unused open modules but eventually fails with make: *** [byte-code] Error 2
<path[l]> any idea how I can figure out why its not building
MercurialAlchemi has joined #ocaml
dubst3pp4 has quit [Quit: Ĝis la revido!]
path[l] has quit [Ping timeout: 250 seconds]
fraggle_laptop has quit [Remote host closed the connection]
dubst3pp4 has joined #ocaml
path[l] has joined #ocaml
fraggle_ has quit [Read error: Connection reset by peer]
eikke__ has quit [Ping timeout: 240 seconds]
ggole has joined #ocaml
fraggle_ has joined #ocaml
lpw25 has joined #ocaml
lpw25 has quit [Client Quit]
lpw25 has joined #ocaml
Simn has joined #ocaml
samrat has quit [Quit: Computer has gone to sleep.]
samrat has joined #ocaml
cago has joined #ocaml
BitPuffin has joined #ocaml
studybot is now known as nns
BitPuffin has quit [Ping timeout: 250 seconds]
ontologiae_ has joined #ocaml
zpe has joined #ocaml
slash^ has quit [Read error: Connection reset by peer]
q66[lap] has joined #ocaml
q66[lap] has quit [Changing host]
q66[lap] has joined #ocaml
slash^ has joined #ocaml
zpe has quit [Remote host closed the connection]
zpe has joined #ocaml
rand000 has joined #ocaml
zpe has quit [Ping timeout: 255 seconds]
AltGr has joined #ocaml
zpe has joined #ocaml
WraithM has joined #ocaml
octachron has joined #ocaml
avsm has quit [Quit: Leaving.]
WraithM has quit [Ping timeout: 240 seconds]
BitPuffin has joined #ocaml
WraithM has joined #ocaml
thomasga has joined #ocaml
eikke__ has joined #ocaml
pgomes has joined #ocaml
<pgomes> Hi
<pgomes> I have a problem: I cannot build camlp4 on 4.02.0...
<pgomes> I am using ubuntu 14.04
path[l] has quit [Ping timeout: 255 seconds]
<pgomes> The follwoing error message
<pgomes> # ocamlbuild -classic-display -no-ocamlfind `./build/camlp4-byte-only.sh`
<pgomes> # /home/pedrog/.opam/4.02.0/bin/ocamlopt.opt unix.cmxa -I /home/pedrog/.opam/4.02.0/lib/ocaml/ocamlbuild /home/pedrog/.opam/4.02.0/lib/ocaml/ocamlbuild/ocamlbuildlib.cmxa myocamlbuild_config.ml myocamlbuild.ml /home/pedrog/.opam/4.02.0/lib/ocaml/ocamlbuild/ocamlbuild.cmx -o myocamlbuild
<pgomes> ### stderr ###
<pgomes> # + echo camlp4/Camlp4.cmo camlp4/Camlp4Top.cmo camlp4/camlp4prof.byte camlp4/mkcamlp4.byte camlp4/camlp4.byte camlp4/camlp4fulllib.cma camlp4/camlp4boot.byte camlp4/camlp4boot.cma camlp4/camlp4r.byte camlp4/camlp4r.cma camlp4/camlp4rf.byte camlp4/camlp4rf.cma camlp4/camlp4o.byte camlp4/camlp4o.cma camlp4/camlp4of.byte camlp4/camlp4of.cma camlp4/ca
<pgomes> # Exception Sys_error("Is a directory").
<pgomes> mlp4oof.byte camlp4/camlp4oof.cma camlp4/camlp4orf.b...[truncated]
<pgomes> # make: *** [byte] Error 100
rand000 has quit [Ping timeout: 240 seconds]
<def`> from opam?
<pgomes> yes
<pgomes> opam 1.1.1
<pgomes> In MACOSX is the same
<pgomes> I already removed .opam and reinstalled from scratch
<pgomes> several times
lpw25 has quit [Ping timeout: 240 seconds]
testcocoon has quit [Quit: Coyote finally caught me]
path[l] has joined #ocaml
testcocoon has joined #ocaml
philed has joined #ocaml
<def`> and updated the repository? (opam update)
WraithM has quit [Ping timeout: 250 seconds]
<pgomes> yes
<pgomes> opam init
<pgomes> eval `opam config env`
<pgomes> opam switch 4.02.0
<pgomes> opam update
<pgomes> opam repository add opamocsigen https://github.com/ocsigen/opam-ocsigen.git
<pgomes> eval `opam config env`
<pgomes> opam install camlp4
<pgomes> this is what I do
<pgomes> from scratch
<pgomes> I before do rm -rf ~/.opam
<pgomes> so no remains exist
ebzzry has quit [Ping timeout: 245 seconds]
nicoo_ is now known as nicoo
fraggle-boate has quit [Remote host closed the connection]
<jpdeplaix> path[l]: this project is not anymore the upstream one
rand000 has joined #ocaml
hhugo has joined #ocaml
<path[l]> jpdeplaix: hi thanks, let me try to build that one instead :). But I wondered why the previous one (which built except for the tests), does not give me any indication of what the error is
sgnb` has quit [Ping timeout: 250 seconds]
<path[l]> jpdeplaix: can that be built without opam, since it complains about oasis.dynrun
thomasga has quit [Quit: Leaving.]
thomasga has joined #ocaml
sgnb has joined #ocaml
zpe has quit [Remote host closed the connection]
zpe has joined #ocaml
zpe has quit [Ping timeout: 260 seconds]
samrat has quit [Quit: Computer has gone to sleep.]
path[l] has quit [Ping timeout: 260 seconds]
path[l] has joined #ocaml
mort___ has joined #ocaml
<jpdeplaix> path[l]: you need oasis to be installed
Shozan is now known as SHODAN
dsheets has joined #ocaml
samrat has joined #ocaml
thomasga has quit [Quit: Leaving.]
dubst3pp4 has quit [Quit: Ĝis la revido!]
Guest38898 is now known as johnelse
mort___ has left #ocaml [#ocaml]
<path[l]> jpdeplaix: I dont think I will be able to add a dependency on oasis in what I”m doing, since everything but the tests build with the older project, is it not possible for me to force ocaml to let me know why this build failed?
path[l] has quit [Quit: path[l]]
Puffin has joined #ocaml
pgomes has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
BitPuffin has quit [Ping timeout: 255 seconds]
thomasga has joined #ocaml
Hannibal_Smith has joined #ocaml
Poisson has joined #ocaml
Puffin has quit [Ping timeout: 255 seconds]
elfring has joined #ocaml
rand000 has quit [Ping timeout: 255 seconds]
pgomes has joined #ocaml
pgomes has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
Kakadu has joined #ocaml
ebzzry has joined #ocaml
octachron has quit [Ping timeout: 246 seconds]
Hannibal_Smith has quit [Remote host closed the connection]
_andre has joined #ocaml
rgrinberg has quit [Quit: Leaving.]
hhugo has quit [Quit: Leaving.]
hhugo has joined #ocaml
yacks has quit [Quit: Leaving]
tane has joined #ocaml
thomasga has quit [Quit: Leaving.]
fraggle-boate has joined #ocaml
thomasga has joined #ocaml
tane has quit [Remote host closed the connection]
tane has joined #ocaml
hhugo has quit [Quit: Leaving.]
avsm has joined #ocaml
avsm1 has joined #ocaml
avsm1 has joined #ocaml
avsm has quit [Read error: Connection reset by peer]
araujo has joined #ocaml
samrat has quit [Quit: Computer has gone to sleep.]
cago has quit [Ping timeout: 260 seconds]
zpe has joined #ocaml
cago has joined #ocaml
siddharthv is now known as siddharthv_away
dinosaure2 is now known as dinosaure
lordkryss has joined #ocaml
yacks has joined #ocaml
pgomes has joined #ocaml
pgomes has quit [Client Quit]
pgomes has joined #ocaml
sepp2k has joined #ocaml
avsm1 has quit [Quit: Leaving.]
samrat has joined #ocaml
eizodo has joined #ocaml
zpe has quit [Remote host closed the connection]
zpe has joined #ocaml
zpe has quit [Ping timeout: 240 seconds]
thomasga has quit [Quit: Leaving.]
thomasga has joined #ocaml
ski_ is now known as ski
cago has quit [Ping timeout: 245 seconds]
zpe has joined #ocaml
darkf has quit [Quit: Leaving]
silverpuff has quit [Remote host closed the connection]
topher has joined #ocaml
Poisson has quit [Read error: Connection reset by peer]
gyrusbam has joined #ocaml
ddosia has quit [*.net *.split]
rossberg_ has quit [*.net *.split]
mdenes3 has quit [*.net *.split]
olasd has quit [*.net *.split]
cartwright has quit [*.net *.split]
mdenes3 has joined #ocaml
olasd has joined #ocaml
rossberg_ has joined #ocaml
cartwright has joined #ocaml
gyrusbam has quit [Read error: Connection reset by peer]
thomasga has quit [Quit: Leaving.]
eikke__ has quit [Ping timeout: 240 seconds]
ddosia has joined #ocaml
topher has left #ocaml [#ocaml]
isms has joined #ocaml
shinnya has joined #ocaml
isms has quit [Client Quit]
ims_ has joined #ocaml
tane has quit [Quit: Verlassend]
fold has joined #ocaml
thomasga has joined #ocaml
samrat has quit [Quit: Computer has gone to sleep.]
ims_ is now known as isms
samrat has joined #ocaml
ygrek has joined #ocaml
samrat has quit [Quit: Computer has gone to sleep.]
hhugo has joined #ocaml
tane has joined #ocaml
samrat has joined #ocaml
hhugo has quit [Quit: Leaving.]
samrat has quit [Quit: Computer has gone to sleep.]
avsm has joined #ocaml
avsm has quit [Ping timeout: 245 seconds]
pgomes has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
eizodo has quit [Quit: Page closed]
hhugo has joined #ocaml
hhugo has quit [Client Quit]
isms has quit [Quit: Leaving]
samrat has joined #ocaml
pminten has joined #ocaml
rgrinberg has joined #ocaml
samrat has quit [Quit: Computer has gone to sleep.]
pminten has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
zpe has quit [Remote host closed the connection]
zpe has joined #ocaml
rbm`` has joined #ocaml
zpe has quit [Ping timeout: 245 seconds]
cody__ has joined #ocaml
samrat has joined #ocaml
path[l] has joined #ocaml
ygrek has quit [Ping timeout: 260 seconds]
rand000 has joined #ocaml
ZenosDance has joined #ocaml
samrat has quit [Quit: Computer has gone to sleep.]
Hannibal_Smith has joined #ocaml
pminten has joined #ocaml
englishm has joined #ocaml
jao has joined #ocaml
jao has quit [Changing host]
jao has joined #ocaml
Submarine has joined #ocaml
Submarine has joined #ocaml
Anarchos has joined #ocaml
<englishm> Is |> an Async thing?
<flux> I think it was introduced in ocaml 4.0.0 maybe
<englishm> oh, ok
<englishm> I'm very new to OCaml still and trying to step through what some code does
<englishm> specifically the examples for Opium
<whitequark> englishm: o/
zpe has joined #ocaml
<englishm> whitequark: hi!
<whitequark> |> is just revapply. let (|>) x f = f x
<adrien> val (|>) : 'a -> ('a -> 'b) -> 'b
<adrien> Reverse-application operator: x |> f |> g is exactly equivalent to g (f
<adrien> (x)) .
<adrien> Since 4.01
<englishm> oh! ok.
<englishm> thanks!
rgrinberg has quit [Quit: Leaving.]
<englishm> (|> is hard to google)
<whitequark> englishm: but easy to stackoverflow.https://stackoverflow.com/search?q=what+is+%22%7C%3E%22
<englishm> ah! I didn't know SO had better search for symbols. I'll have to remember that. Thanks!
rgrinberg has joined #ocaml
hhugo has joined #ocaml
q66 has joined #ocaml
ontologiae_ has quit [Ping timeout: 245 seconds]
thizanne has quit [Ping timeout: 240 seconds]
thizanne has joined #ocaml
samrat has joined #ocaml
AltGr has left #ocaml [#ocaml]
pminten has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
eikke__ has joined #ocaml
ZenosDance has quit [Ping timeout: 272 seconds]
englishm has quit [Remote host closed the connection]
hhugo has quit [Quit: Leaving.]
rgrinberg has quit [Quit: Leaving.]
englishm has joined #ocaml
hhugo has joined #ocaml
rgrinberg has joined #ocaml
philtom has joined #ocaml
rgrinberg has quit [Quit: Leaving.]
rgrinberg has joined #ocaml
<whitequark> hey companion_cube
<whitequark> what do you think about a module CCPervasives, which shadows the stdlib modules?
philtom has quit [Ping timeout: 255 seconds]
<companion_cube> o/ whitequark
<companion_cube> why not, if it's in a sub-library
<companion_cube> someone else already asked
rbm`` has quit [Remote host closed the connection]
ygrek has joined #ocaml
ollehar has joined #ocaml
eikke__ has quit [Ping timeout: 245 seconds]
rgrinberg has quit [Quit: Leaving.]
NoNNaN has joined #ocaml
rgrinberg has joined #ocaml
hhugo has quit [Quit: Leaving.]
dsheets has quit [Ping timeout: 255 seconds]
elfring has quit [Quit: Konversation terminated!]
ollehar has quit [Ping timeout: 255 seconds]
MercurialAlchemi has quit [Remote host closed the connection]
MercurialAlchemi has joined #ocaml
Thooms has joined #ocaml
path[l] has quit [Quit: path[l]]
shinnya has quit [Ping timeout: 255 seconds]
ontologiae_ has joined #ocaml
Aster` has joined #ocaml
path[l] has joined #ocaml
tautologico has joined #ocaml
<tautologico> the topic could use a update to show 4.02 :)
Aster` has quit [Client Quit]
englishm has quit [Remote host closed the connection]
englishm has joined #ocaml
Asteroid has joined #ocaml
zpe has quit [Remote host closed the connection]
Asteroid has quit [Client Quit]
zpe has joined #ocaml
zpe has quit [Ping timeout: 245 seconds]
WraithM has joined #ocaml
ygrek has quit [Ping timeout: 245 seconds]
cespinoza has joined #ocaml
<MercurialAlchemi> How do you ask an lwt program to shutdown on ctl-c instead of raising Sys.Break?
rgrinberg has quit [Quit: Leaving.]
<MercurialAlchemi> if there is a shortcut for it, that is
eikke__ has joined #ocaml
<whitequark> catch Sys.Break :p
<flux> mercurialalchemi, I don't know if Lwt has something special but there is Sys.catch_break false
<MercurialAlchemi> flux: that's something ugly like that I was looking for, but it doesn't do anything with lwt
<MercurialAlchemi> whitequark: that's what I ended up doing
<MercurialAlchemi> whitequark: though
<MercurialAlchemi> whitequark: how would I go about catching it and then exiting my lwt program with a given exit code?
<MercurialAlchemi> whitequark: right now I catch it and return (), but obviously I get a 0 return code, which isn't elegant
<whitequark> just do exit 1
koderok has joined #ocaml
koderok has quit [Client Quit]
<MercurialAlchemi> the time-honored value for this kind of thing is 130
<MercurialAlchemi> but it definitely works
<companion_cube> whitequark: what would you need for CCPervasives ?
englishm has quit [Remote host closed the connection]
englishm has joined #ocaml
<MercurialAlchemi> it's easy to spot the packages made by French people
dsheets has joined #ocaml
<MercurialAlchemi> they're the ones going for the lame wordplays on French words)
<MercurialAlchemi> :)
<whitequark> companion_cube: hmmm, I need to think about that
<whitequark> I'll try to prototype it and send a PR
<Drup> MercurialAlchemi: "Ocsigen" ? :p
<MercurialAlchemi> "biniou"
<MercurialAlchemi> at least you have "oxygen" in English
<Drup> that too x)
<MercurialAlchemi> of course, there is menhir... it would obviously need a companion "obelix" package
zpe has joined #ocaml
<whitequark> biniou is a pun?
<whitequark> ocsigen is?
<Drup> def`: there, you know how to call your error recovery library for menhir
<MercurialAlchemi> yes, biniou is a bagpipe
<MercurialAlchemi> ocsigen, well, it's oxygène in French, but that's not so surprising
<MercurialAlchemi> at least ocaml isn't a French pun
<MercurialAlchemi> otherwise it would OChameau
<Drup> MercurialAlchemi: http://gallium.inria.fr/blog/ocaml-5/ :D
<MercurialAlchemi> oh god
slash^ has quit [Read error: Connection reset by peer]
<Drup> (best april joke ever :D)
<MercurialAlchemi> Chamelle no 5
zpe has quit [Remote host closed the connection]
<MercurialAlchemi> sadly, this isn't an April's fool joke: http://www.pcsoft.fr/wlangage.htm
zpe has joined #ocaml
jao has quit [Ping timeout: 260 seconds]
Submarine has quit [Remote host closed the connection]
<MercurialAlchemi> it reminds of some terrible, terrible codebases where developers futilely try to cling to French when the language is full of English keywords, ending with grotesque, hideous French-English function names
<MercurialAlchemi> OCAML_PERFIDE_ALBION :D
<MercurialAlchemi> brilliant
zpe has quit [Ping timeout: 245 seconds]
ollehar has joined #ocaml
hhugo has joined #ocaml
samrat has quit [Quit: Computer has gone to sleep.]
cespinoza has quit [Ping timeout: 245 seconds]
Algebr has joined #ocaml
tautologico has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cody__ has quit [Quit: Leaving]
ontologiae_ has quit [Quit: WeeChat 0.4.0]
zpe has joined #ocaml
_andre has quit [Quit: leaving]
zpe has quit [Remote host closed the connection]
zpe has joined #ocaml
cespinoza has joined #ocaml
rgrinberg has joined #ocaml
hhugo has quit [Quit: Leaving.]
rgrinberg has quit [Client Quit]
zpe has quit [Ping timeout: 245 seconds]
flx has joined #ocaml
Simn has quit [Ping timeout: 260 seconds]
flux has quit [Ping timeout: 272 seconds]
flx is now known as flux
Hannibal_Smith has quit [Quit: Sto andando via]
sheijk has joined #ocaml
sepp2k has quit [Quit: Konversation terminated!]
WraithM has quit [Ping timeout: 260 seconds]
axiles has quit [Remote host closed the connection]
dsheets has quit [Ping timeout: 260 seconds]
avsm has joined #ocaml
dsheets has joined #ocaml
avsm1 has joined #ocaml
WraithM has joined #ocaml
avsm has quit [Ping timeout: 255 seconds]
rand000 has quit [Quit: leaving]
rollertrump has joined #ocaml
avsm1 has quit [Quit: Leaving.]
hhugo has joined #ocaml
zpe has joined #ocaml
dsheets has quit [Ping timeout: 260 seconds]
MercurialAlchemi has quit [Ping timeout: 255 seconds]
zpe has quit [Ping timeout: 260 seconds]
philtom has joined #ocaml
kakadu_ has joined #ocaml
ggole has quit []
path[l] has quit [Quit: path[l]]
tane has quit [Quit: Verlassend]
Simn has joined #ocaml
eikke__ has quit [Ping timeout: 260 seconds]
Simn has quit [Ping timeout: 260 seconds]
nojb has joined #ocaml
zarul has quit [Ping timeout: 250 seconds]
zarul has joined #ocaml
zarul has joined #ocaml
zarul has quit [Changing host]
WraithM has quit [Ping timeout: 245 seconds]
hhugo has quit [Quit: Leaving.]
ollehar has quit [Ping timeout: 245 seconds]
Algebr has quit [Ping timeout: 260 seconds]
kakadu_ has quit [Quit: Konversation terminated!]
eikke__ has joined #ocaml
lordkryss has quit [Quit: Connection closed for inactivity]
jao has joined #ocaml
jao has quit [Changing host]
jao has joined #ocaml
hhugo has joined #ocaml
lbaan has joined #ocaml
thomasga has quit [Quit: Leaving.]
thomasga has joined #ocaml
thomasga has quit [Client Quit]
hhugo has quit [Ping timeout: 245 seconds]
cartwright has quit [Remote host closed the connection]
cantstanya has joined #ocaml
fraggle-boate has quit [Ping timeout: 245 seconds]
sheijk_ has joined #ocaml
sheijk_ has quit [Client Quit]
Thooms has quit [Quit: WeeChat 0.4.3]
fraggle-boate has joined #ocaml
sheijk has quit [Ping timeout: 255 seconds]
lbaan has quit [Quit: sleeping device]
ZenosDance has joined #ocaml
cespinoza has quit [Ping timeout: 260 seconds]
fraggle-boate has quit [Ping timeout: 255 seconds]
fraggle-boate has joined #ocaml
cespinoza has joined #ocaml
eikke__ has quit [Ping timeout: 245 seconds]
madroach has quit [Ping timeout: 250 seconds]
madroach has joined #ocaml
NoNNaN has quit [Remote host closed the connection]
NoNNaN has joined #ocaml
nojb has quit [Ping timeout: 245 seconds]
Anarchos has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
ZenosDance has quit [Ping timeout: 272 seconds]
pyon has quit [Quit: These skies and seas hold great possibilities for you. Stay alive. Pursue happiness. I expect much from your life.]
pyon has joined #ocaml