adrien changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org and http://caml.inria.fr | http://ocaml.org/releases/4.02.0.html | Public channel logs at http://irclog.whitequark.org/ocaml
tautologico has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
MercurialAlchemi has quit [Ping timeout: 240 seconds]
zpe has joined #ocaml
zpe has quit [Ping timeout: 246 seconds]
_habnabit has joined #ocaml
tac_ is now known as _tac
seliopou has joined #ocaml
rgrinberg has quit [Quit: Leaving.]
shinnya has quit [Ping timeout: 245 seconds]
ontologiae has quit [Ping timeout: 246 seconds]
shinnya has joined #ocaml
zpe has joined #ocaml
zpe has quit [Ping timeout: 260 seconds]
Arsenik has quit [Remote host closed the connection]
WraithM has joined #ocaml
q66 has quit [Quit: Leaving]
WraithM has quit [Ping timeout: 250 seconds]
zpe has joined #ocaml
zpe has quit [Ping timeout: 260 seconds]
englishm has joined #ocaml
WraithM has joined #ocaml
ollehar has quit [Ping timeout: 250 seconds]
WraithM has quit [Ping timeout: 245 seconds]
huza has joined #ocaml
samrat has joined #ocaml
WraithM has joined #ocaml
_5kg has quit [Quit: WeeChat 1.0]
NoNNaN has joined #ocaml
samrat has quit [Quit: Computer has gone to sleep.]
igitoor has quit [Ping timeout: 272 seconds]
_5kg has joined #ocaml
igitoor has joined #ocaml
zpe has joined #ocaml
natrium1970 has joined #ocaml
ollehar has joined #ocaml
<natrium1970> ocamlbrew-install wants to install ocaml-4.01.0, which is broken on Mac. Specifying -v 4.02.0 does not seem to have an effect.
<warrick> beginner looking for examples of idiomatic usages of Option types
zpe has quit [Ping timeout: 245 seconds]
<warrick> they are really munging my code
<_tac> warrick: they do tend to infest your code when you start writting deeply-nested, failure-prone code
<_tac> If you're doing prototyping, use exceptions instead.
<_tac> But know what you're doing is morally wrong :)
igitoor has joined #ocaml
igitoor has quit [Changing host]
<warrick> _tac: Ha, I am trying for assimilation. Must resist
<warrick> Date.to_string (Option.get (List.reduce dates min))
<_tac> It's just a simple fact that accounting for EVERY possible case, even in pure code (ignoring memory exhaustion, hardware failures, and IO failures) is going to be harder than pretending that the code always takes the path you want it to
<warrick> but Core seems to omit, Option.get
<warrick> is there a "monadic" way to do this more elegantly?
<_tac> in ocaml, I'm not the guy to ask :X
<warrick> seems like there should be a way to go from some date -> some string better, humph
ollehar1 has joined #ocaml
<_tac> You could do things unsafely, then have an exception handler which just returns None
<warrick> yeah, i might just resort to the more verbose pattern matching
ollehar has quit [Ping timeout: 240 seconds]
<natrium1970> In the past, I have installed ocaml manually first then opam. opam does not like bootstrapping itself with ocmalbrew.
rgrinberg has joined #ocaml
<_5kg> :q
rgrinberg has quit [Quit: Leaving.]
natrium1970 has quit [Quit: natrium1970]
NoNNaN has quit [Remote host closed the connection]
NoNNaN has joined #ocaml
zpe has joined #ocaml
huza has quit [Ping timeout: 245 seconds]
zpe has quit [Ping timeout: 240 seconds]
WraithM has quit [Ping timeout: 240 seconds]
samrat has joined #ocaml
samrat has quit [Client Quit]
samrat has joined #ocaml
omqal has quit [Quit: omqal]
axiles has joined #ocaml
samrat has quit [Quit: Computer has gone to sleep.]
zpe has joined #ocaml
englishm has quit [Remote host closed the connection]
zpe has quit [Ping timeout: 260 seconds]
englishm has joined #ocaml
philtom has quit [Ping timeout: 250 seconds]
Submarine has joined #ocaml
Hannibal_Smith has joined #ocaml
WraithM has joined #ocaml
englishm has quit [Read error: Connection reset by peer]
englishm has joined #ocaml
yacks has quit [Ping timeout: 260 seconds]
yacks has joined #ocaml
Denommus has quit [Ping timeout: 260 seconds]
rishabhjain has joined #ocaml
Denommus has joined #ocaml
ygrek_ has joined #ocaml
rishabhjain has quit []
englishm has quit [Remote host closed the connection]
englishm has joined #ocaml
englishm has quit [Ping timeout: 246 seconds]
zpe has joined #ocaml
zpe has quit [Ping timeout: 272 seconds]
samrat has joined #ocaml
huza has joined #ocaml
ollehar1 has quit [Ping timeout: 245 seconds]
natrium1970 has joined #ocaml
<natrium1970> Opam does not build for me. I searched online and found other reports about this, but no solution. The result of ‘make’ is http://pastebin.com/B1t3VW8B
MercurialAlchemi has joined #ocaml
ollehar has joined #ocaml
Simn has joined #ocaml
zpe has joined #ocaml
samrat has quit [Quit: Computer has gone to sleep.]
zpe has quit [Ping timeout: 246 seconds]
WraithM has quit [Ping timeout: 240 seconds]
<natrium1970> Installing opam systemwide seems impossible
morphles has joined #ocaml
natrium1970 has quit [Quit: natrium1970]
samrat has joined #ocaml
Submarine has quit [Remote host closed the connection]
jerith_ is now known as jerith
chambart has joined #ocaml
Kakadu has joined #ocaml
zpe has joined #ocaml
zpe has quit [Ping timeout: 272 seconds]
huza has quit [Quit: WeeChat 0.3.8]
toroidalcode has quit [Ping timeout: 240 seconds]
toroidalcode has joined #ocaml
ygrek_ has quit [Ping timeout: 245 seconds]
pminten has joined #ocaml
tane has joined #ocaml
zpe has joined #ocaml
typedlambda has quit [Ping timeout: 250 seconds]
zpe has quit [Ping timeout: 240 seconds]
typedlambda has joined #ocaml
thomasga has joined #ocaml
ontologiae has joined #ocaml
rand000 has joined #ocaml
avsm has joined #ocaml
willy__ has joined #ocaml
willy_ has quit [Ping timeout: 245 seconds]
ggole has joined #ocaml
zpe has joined #ocaml
avsm has quit [Read error: Connection reset by peer]
avsm has joined #ocaml
chambart has quit [Remote host closed the connection]
oscar_toro has joined #ocaml
_tac has quit [Ping timeout: 250 seconds]
avsm has quit [Quit: Leaving.]
thomasga has quit [Quit: Leaving.]
samrat has quit [Quit: Computer has gone to sleep.]
zpe has quit [Remote host closed the connection]
thomasga has joined #ocaml
zpe has joined #ocaml
thomasga has quit [Client Quit]
zpe has quit [Ping timeout: 240 seconds]
samrat has joined #ocaml
q66 has joined #ocaml
pminten has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
morphles has quit [Ping timeout: 245 seconds]
ollehar has quit [Ping timeout: 246 seconds]
surply_p is now known as Ptishell
samrat has quit [Quit: Computer has gone to sleep.]
Hannibal_Smith has quit [Quit: Sto andando via]
willy__ has quit [Remote host closed the connection]
thomasga has joined #ocaml
darkf has quit [Quit: Leaving]
ollehar has joined #ocaml
ollehar has quit [Ping timeout: 272 seconds]
omqal has joined #ocaml
rand000 has quit [Quit: leaving]
rand000 has joined #ocaml
omqal has quit [Ping timeout: 245 seconds]
rand000 has quit [Client Quit]
rand000 has joined #ocaml
SHODAN has joined #ocaml
zpe has joined #ocaml
samrat has joined #ocaml
zpe has quit [Ping timeout: 272 seconds]
rand000 has quit [Quit: leaving]
rand000 has joined #ocaml
ollehar has joined #ocaml
nicoo_ has joined #ocaml
nicoo has quit [Quit: Adieu, monde cruel :3]
nicoo_ is now known as nicoo
englishm has joined #ocaml
_2can_ is now known as _2can
msaegess1r has quit [Ping timeout: 250 seconds]
msaegesser has joined #ocaml
msaegesser has quit [Ping timeout: 240 seconds]
nicoo has quit [Quit: WeeChat 0.4.3]
avsm has joined #ocaml
fold has joined #ocaml
ollehar has quit [Ping timeout: 272 seconds]
zpe has joined #ocaml
msaegesser has joined #ocaml
zpe has quit [Ping timeout: 245 seconds]
<Drup> warrick: use both exception and option, depending on the task
<Drup> exception is not "wrong", it's just not always right
<Drup> You should look at the Result module too
<Drup> (don't be a purity fanatic, it's not going to do you any good :p)
robink has joined #ocaml
samrat has quit [Quit: Computer has gone to sleep.]
samrat has joined #ocaml
samrat has quit [Client Quit]
nicoo has joined #ocaml
ollehar has joined #ocaml
ontologiae has quit [Ping timeout: 245 seconds]
samrat has joined #ocaml
hcarty_ has joined #ocaml
shinnya_ has joined #ocaml
morphles has joined #ocaml
hcarty has quit [Ping timeout: 246 seconds]
shinnya has quit [Ping timeout: 246 seconds]
Intensity has quit [Ping timeout: 246 seconds]
Intensity has joined #ocaml
jerith_ has joined #ocaml
zpe has joined #ocaml
fold has quit [*.net *.split]
MercurialAlchemi has quit [*.net *.split]
jerith has quit [*.net *.split]
nicoo has quit [*.net *.split]
NoNNaN has quit [*.net *.split]
zpe has quit [Ping timeout: 250 seconds]
MercurialAlchemi has joined #ocaml
fold has joined #ocaml
hhugo has joined #ocaml
hhugo has quit [Quit: Leaving.]
zpe has joined #ocaml
shinnya_ has quit [Ping timeout: 260 seconds]
zpe has quit [Remote host closed the connection]
zpe has joined #ocaml
parcs has joined #ocaml
zpe has quit [Ping timeout: 246 seconds]
samrat has quit [Ping timeout: 240 seconds]
samrat has joined #ocaml
zpe 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 [Ping timeout: 250 seconds]
madroach has quit [Ping timeout: 250 seconds]
madroach_ has joined #ocaml
samrat has joined #ocaml
madroach_ has quit [Ping timeout: 250 seconds]
tac_ has joined #ocaml
ontologiae has joined #ocaml
ontologiae has quit [Ping timeout: 258 seconds]
ollehar has quit [Ping timeout: 272 seconds]
paolooo has joined #ocaml
zpe has joined #ocaml
patojo has joined #ocaml
Cyanure has joined #ocaml
zpe has quit [Ping timeout: 250 seconds]
zpe has joined #ocaml
yacks has quit [Quit: Leaving]
nicoo has joined #ocaml
bitbckt_ is now known as bitbckt
bitbckt has quit [Changing host]
bitbckt has joined #ocaml
NoNNaN has joined #ocaml
<warrick> Drup: thanks, after the fact I realize that a little imperative programming and using the _exn's would have saved me a couple hours
<warrick> working with file input anyways, no need be fancy
sad0ur_ has quit [Ping timeout: 245 seconds]
patojo has quit [Remote host closed the connection]
hhugo has joined #ocaml
paolooo has quit [Ping timeout: 246 seconds]
<warrick> rpl
omqal has joined #ocaml
sad0ur has joined #ocaml
patojo has joined #ocaml
avsm has quit [Quit: Leaving.]
avsm has joined #ocaml
patojo has quit [Remote host closed the connection]
zpe has quit [Remote host closed the connection]
zpe has joined #ocaml
zpe has quit [Ping timeout: 260 seconds]
shinnya has joined #ocaml
ygrek_ has joined #ocaml
ollehar has joined #ocaml
hhugo has quit [Quit: Leaving.]
martintrojer_ has quit [Ping timeout: 245 seconds]
martintrojer has joined #ocaml
mort___ has joined #ocaml
WraithM has joined #ocaml
zpe has joined #ocaml
NoNNaN has quit [Ping timeout: 264 seconds]
ontologiae has joined #ocaml
ontologiae has quit [Ping timeout: 260 seconds]
madroach has joined #ocaml
misv_ is now known as misv
avsm has quit [Quit: Leaving.]
reynir has quit [Quit: WeeChat 0.4.1]
ollehar has quit [Quit: ollehar]
reynir has joined #ocaml
omqal has quit [Quit: omqal]
WraithM has quit [Ping timeout: 246 seconds]
WraithM has joined #ocaml
zpe has quit [Remote host closed the connection]
zpe has joined #ocaml
BiDOrD has quit [Remote host closed the connection]
BiDOrD has joined #ocaml
thomasga has quit [Quit: Leaving.]
zpe has quit [Ping timeout: 272 seconds]
mort___ has quit [Quit: Leaving.]
ygrek_ has quit [Ping timeout: 246 seconds]
ggole has quit []
thomasga has joined #ocaml
morphles has quit [Ping timeout: 260 seconds]
WraithM has quit [Ping timeout: 255 seconds]
mort___ has joined #ocaml
axiles has quit [Remote host closed the connection]
samrat has quit [Quit: Computer has gone to sleep.]
NoNNaN has joined #ocaml
WraithM has joined #ocaml
ontologiae has joined #ocaml
zpe has joined #ocaml
zpe has quit [Ping timeout: 260 seconds]
ygrek_ has joined #ocaml
Cyanure has quit [Remote host closed the connection]
dwoos has joined #ocaml
oscar_toro has quit [Ping timeout: 250 seconds]
malo has joined #ocaml
tane has quit [Quit: Verlassend]
patojo has joined #ocaml
englishm has quit [Remote host closed the connection]
patojo has quit [Quit: Leaving...]
englishm has joined #ocaml
WraithM has quit [Ping timeout: 250 seconds]
tac_ has quit [Quit: Leaving]
Nahra has joined #ocaml
MercurialAlchemi has quit [Ping timeout: 260 seconds]
tac_ has joined #ocaml
WraithM has joined #ocaml
Kakadu has quit [Quit: Konversation terminated!]
mort___ has quit [Quit: Leaving.]
araujo has joined #ocaml
araujo has joined #ocaml
englishm has quit [Remote host closed the connection]
englishm has joined #ocaml
malo has quit [Ping timeout: 272 seconds]
englishm has quit [Remote host closed the connection]
englishm has joined #ocaml
rgrinberg has joined #ocaml
johnelse_ is now known as johnelse
fold has quit [Ping timeout: 250 seconds]
englishm has quit [Remote host closed the connection]
englishm has joined #ocaml
Cypi_ is now known as Cypi
Simn has quit [Quit: Leaving]
ygrek_ has quit [Ping timeout: 272 seconds]
WanderingGlitch has quit [Changing host]
WanderingGlitch has joined #ocaml
wormphlegm has joined #ocaml
rand000 has quit [Quit: leaving]
wormphlegm has quit [Quit: Lost terminal]
omqal has joined #ocaml
omqal has quit [Client Quit]
Neros_ has joined #ocaml
Neros_ has quit [Client Quit]
wormphlegm has joined #ocaml
thomasga has quit [Quit: Leaving.]
madroach has quit [Ping timeout: 272 seconds]
darkf has joined #ocaml
madroach has joined #ocaml
def` has quit [Ping timeout: 245 seconds]
adrien has quit [Ping timeout: 260 seconds]
Asmadeus has quit [Ping timeout: 245 seconds]
shinnya has quit [Ping timeout: 258 seconds]
pollux has quit [Ping timeout: 272 seconds]
BiDOrD has quit [Ping timeout: 260 seconds]
NoNNaN has quit [Remote host closed the connection]
BiDOrD has joined #ocaml
NoNNaN has joined #ocaml
shinnya has joined #ocaml
topher_b has joined #ocaml
rgrinberg has quit [Quit: Leaving.]
def` has joined #ocaml
pollux has joined #ocaml
adrien has joined #ocaml
Asmadeus has joined #ocaml