00:01
tautologico has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
00:08
MercurialAlchemi has quit [Ping timeout: 240 seconds]
00:15
zpe has joined #ocaml
00:19
zpe has quit [Ping timeout: 246 seconds]
00:28
_habnabit has joined #ocaml
00:35
tac_ is now known as _tac
00:37
seliopou has joined #ocaml
00:53
rgrinberg has quit [Quit: Leaving.]
01:00
shinnya has quit [Ping timeout: 245 seconds]
01:02
ontologiae has quit [Ping timeout: 246 seconds]
01:05
shinnya has joined #ocaml
01:15
zpe has joined #ocaml
01:24
zpe has quit [Ping timeout: 260 seconds]
01:25
Arsenik has quit [Remote host closed the connection]
01:36
WraithM has joined #ocaml
02:10
q66 has quit [Quit: Leaving]
02:20
WraithM has quit [Ping timeout: 250 seconds]
02:20
zpe has joined #ocaml
02:25
zpe has quit [Ping timeout: 260 seconds]
02:31
englishm has joined #ocaml
02:45
WraithM has joined #ocaml
02:45
ollehar has quit [Ping timeout: 250 seconds]
02:57
WraithM has quit [Ping timeout: 245 seconds]
02:59
huza has joined #ocaml
03:02
samrat has joined #ocaml
03:04
WraithM has joined #ocaml
03:05
_5kg has quit [Quit: WeeChat 1.0]
03:06
NoNNaN has joined #ocaml
03:14
samrat has quit [Quit: Computer has gone to sleep.]
03:15
igitoor has quit [Ping timeout: 272 seconds]
03:18
_5kg has joined #ocaml
03:18
igitoor has joined #ocaml
03:21
zpe has joined #ocaml
03:21
natrium1970 has joined #ocaml
03:21
ollehar has joined #ocaml
03:22
<
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.
03:24
<
warrick >
beginner looking for examples of idiomatic usages of Option types
03:25
zpe has quit [Ping timeout: 245 seconds]
03:25
<
warrick >
they are really munging my code
03:25
<
_tac >
warrick: they do tend to infest your code when you start writting deeply-nested, failure-prone code
03:26
<
_tac >
If you're doing prototyping, use exceptions instead.
03:26
<
_tac >
But know what you're doing is morally wrong :)
03:30
igitoor has joined #ocaml
03:30
igitoor has quit [Changing host]
03:31
<
warrick >
_tac: Ha, I am trying for assimilation. Must resist
03:31
<
warrick >
Date.to_string (Option.get (List.reduce dates min))
03:32
<
_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
03:32
<
warrick >
but Core seems to omit, Option.get
03:32
<
warrick >
is there a "monadic" way to do this more elegantly?
03:33
<
_tac >
in ocaml, I'm not the guy to ask :X
03:34
<
warrick >
seems like there should be a way to go from some date -> some string better, humph
03:36
ollehar1 has joined #ocaml
03:36
<
_tac >
You could do things unsafely, then have an exception handler which just returns None
03:37
<
warrick >
yeah, i might just resort to the more verbose pattern matching
03:38
ollehar has quit [Ping timeout: 240 seconds]
03:38
<
natrium1970 >
In the past, I have installed ocaml manually first then opam. opam does not like bootstrapping itself with ocmalbrew.
03:44
rgrinberg has joined #ocaml
04:00
rgrinberg has quit [Quit: Leaving.]
04:11
natrium1970 has quit [Quit: natrium1970]
04:14
NoNNaN has quit [Remote host closed the connection]
04:15
NoNNaN has joined #ocaml
04:21
zpe has joined #ocaml
04:21
huza has quit [Ping timeout: 245 seconds]
04:25
zpe has quit [Ping timeout: 240 seconds]
04:27
WraithM has quit [Ping timeout: 240 seconds]
04:34
samrat has joined #ocaml
04:35
samrat has quit [Client Quit]
04:39
samrat has joined #ocaml
04:46
omqal has quit [Quit: omqal]
05:12
axiles has joined #ocaml
05:19
samrat has quit [Quit: Computer has gone to sleep.]
05:22
zpe has joined #ocaml
05:26
englishm has quit [Remote host closed the connection]
05:26
zpe has quit [Ping timeout: 260 seconds]
05:27
englishm has joined #ocaml
05:30
philtom has quit [Ping timeout: 250 seconds]
05:33
Submarine has joined #ocaml
05:35
Hannibal_Smith has joined #ocaml
05:38
WraithM has joined #ocaml
05:40
englishm has quit [Read error: Connection reset by peer]
05:40
englishm has joined #ocaml
05:44
yacks has quit [Ping timeout: 260 seconds]
05:50
yacks has joined #ocaml
05:50
Denommus has quit [Ping timeout: 260 seconds]
05:54
rishabhjain has joined #ocaml
05:56
Denommus has joined #ocaml
06:01
ygrek_ has joined #ocaml
06:02
rishabhjain has quit []
06:12
englishm has quit [Remote host closed the connection]
06:12
englishm has joined #ocaml
06:17
englishm has quit [Ping timeout: 246 seconds]
06:22
zpe has joined #ocaml
06:27
zpe has quit [Ping timeout: 272 seconds]
06:40
samrat has joined #ocaml
06:50
huza has joined #ocaml
07:01
ollehar1 has quit [Ping timeout: 245 seconds]
07:05
natrium1970 has joined #ocaml
07:07
<
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
07:13
MercurialAlchemi has joined #ocaml
07:18
ollehar has joined #ocaml
07:18
Simn has joined #ocaml
07:23
zpe has joined #ocaml
07:26
samrat has quit [Quit: Computer has gone to sleep.]
07:27
zpe has quit [Ping timeout: 246 seconds]
07:35
WraithM has quit [Ping timeout: 240 seconds]
07:41
<
natrium1970 >
Installing opam systemwide seems impossible
07:47
morphles has joined #ocaml
07:51
natrium1970 has quit [Quit: natrium1970]
07:59
samrat has joined #ocaml
08:02
Submarine has quit [Remote host closed the connection]
08:09
jerith_ is now known as jerith
08:19
chambart has joined #ocaml
08:21
Kakadu has joined #ocaml
08:23
zpe has joined #ocaml
08:28
zpe has quit [Ping timeout: 272 seconds]
08:44
huza has quit [Quit: WeeChat 0.3.8]
09:04
toroidalcode has quit [Ping timeout: 240 seconds]
09:10
toroidalcode has joined #ocaml
09:13
ygrek_ has quit [Ping timeout: 245 seconds]
09:15
pminten has joined #ocaml
09:18
tane has joined #ocaml
09:24
zpe has joined #ocaml
09:27
typedlambda has quit [Ping timeout: 250 seconds]
09:28
zpe has quit [Ping timeout: 240 seconds]
09:29
typedlambda has joined #ocaml
09:35
thomasga has joined #ocaml
09:35
ontologiae has joined #ocaml
09:37
rand000 has joined #ocaml
09:48
avsm has joined #ocaml
09:54
willy__ has joined #ocaml
09:56
willy_ has quit [Ping timeout: 245 seconds]
09:58
ggole has joined #ocaml
10:00
zpe has joined #ocaml
10:05
avsm has quit [Read error: Connection reset by peer]
10:07
avsm has joined #ocaml
10:31
chambart has quit [Remote host closed the connection]
10:34
oscar_toro has joined #ocaml
10:41
_tac has quit [Ping timeout: 250 seconds]
10:54
avsm has quit [Quit: Leaving.]
10:55
thomasga has quit [Quit: Leaving.]
10:55
samrat has quit [Quit: Computer has gone to sleep.]
10:58
zpe has quit [Remote host closed the connection]
10:58
thomasga has joined #ocaml
10:58
zpe has joined #ocaml
11:01
thomasga has quit [Client Quit]
11:02
zpe has quit [Ping timeout: 240 seconds]
11:05
samrat has joined #ocaml
11:16
q66 has joined #ocaml
11:27
morphles has quit [Ping timeout: 245 seconds]
11:32
ollehar has quit [Ping timeout: 246 seconds]
12:03
surply_p is now known as Ptishell
12:09
samrat has quit [Quit: Computer has gone to sleep.]
12:14
Hannibal_Smith has quit [Quit: Sto andando via]
12:15
willy__ has quit [Remote host closed the connection]
12:41
thomasga has joined #ocaml
12:51
darkf has quit [Quit: Leaving]
13:00
ollehar has joined #ocaml
13:04
ollehar has quit [Ping timeout: 272 seconds]
13:15
omqal has joined #ocaml
13:15
rand000 has quit [Quit: leaving]
13:17
rand000 has joined #ocaml
13:19
omqal has quit [Ping timeout: 245 seconds]
13:21
rand000 has quit [Client Quit]
13:22
rand000 has joined #ocaml
13:29
SHODAN has joined #ocaml
13:34
zpe has joined #ocaml
13:35
samrat has joined #ocaml
13:38
zpe has quit [Ping timeout: 272 seconds]
13:47
rand000 has quit [Quit: leaving]
13:48
rand000 has joined #ocaml
13:49
ollehar has joined #ocaml
13:51
nicoo_ has joined #ocaml
13:54
nicoo has quit [Quit: Adieu, monde cruel :3]
13:59
nicoo_ is now known as nicoo
14:00
englishm has joined #ocaml
14:05
_2can_ is now known as _2can
14:06
msaegess1r has quit [Ping timeout: 250 seconds]
14:06
msaegesser has joined #ocaml
14:11
msaegesser has quit [Ping timeout: 240 seconds]
14:12
nicoo has quit [Quit: WeeChat 0.4.3]
14:13
avsm has joined #ocaml
14:24
fold has joined #ocaml
14:32
ollehar has quit [Ping timeout: 272 seconds]
14:34
zpe has joined #ocaml
14:38
msaegesser has joined #ocaml
14:39
zpe has quit [Ping timeout: 245 seconds]
14:43
<
Drup >
warrick: use both exception and option, depending on the task
14:43
<
Drup >
exception is not "wrong", it's just not always right
14:44
<
Drup >
You should look at the Result module too
14:45
<
Drup >
(don't be a purity fanatic, it's not going to do you any good :p)
14:49
robink has joined #ocaml
14:51
samrat has quit [Quit: Computer has gone to sleep.]
14:52
samrat has joined #ocaml
14:52
samrat has quit [Client Quit]
14:59
nicoo has joined #ocaml
15:00
ollehar has joined #ocaml
15:10
ontologiae has quit [Ping timeout: 245 seconds]
15:17
samrat has joined #ocaml
15:18
hcarty_ has joined #ocaml
15:21
shinnya_ has joined #ocaml
15:24
morphles has joined #ocaml
15:24
hcarty has quit [Ping timeout: 246 seconds]
15:24
shinnya has quit [Ping timeout: 246 seconds]
15:24
Intensity has quit [Ping timeout: 246 seconds]
15:27
Intensity has joined #ocaml
15:31
jerith_ has joined #ocaml
15:35
zpe has joined #ocaml
15:38
fold has quit [*.net *.split]
15:38
MercurialAlchemi has quit [*.net *.split]
15:38
jerith has quit [*.net *.split]
15:38
nicoo has quit [*.net *.split]
15:38
NoNNaN has quit [*.net *.split]
15:39
zpe has quit [Ping timeout: 250 seconds]
15:39
MercurialAlchemi has joined #ocaml
15:41
fold has joined #ocaml
15:41
hhugo has joined #ocaml
15:58
hhugo has quit [Quit: Leaving.]
16:00
zpe has joined #ocaml
16:06
shinnya_ has quit [Ping timeout: 260 seconds]
16:07
zpe has quit [Remote host closed the connection]
16:07
zpe has joined #ocaml
16:11
parcs has joined #ocaml
16:12
zpe has quit [Ping timeout: 246 seconds]
16:16
samrat has quit [Ping timeout: 240 seconds]
16:18
samrat has joined #ocaml
16:20
zpe has joined #ocaml
16:21
zpe has quit [Remote host closed the connection]
16:22
zpe has joined #ocaml
16:26
zpe has quit [Ping timeout: 260 seconds]
16:42
samrat has quit [Ping timeout: 250 seconds]
16:45
madroach has quit [Ping timeout: 250 seconds]
16:45
madroach_ has joined #ocaml
16:46
samrat has joined #ocaml
17:01
madroach_ has quit [Ping timeout: 250 seconds]
17:04
tac_ has joined #ocaml
17:06
ontologiae has joined #ocaml
17:11
ontologiae has quit [Ping timeout: 258 seconds]
17:18
ollehar has quit [Ping timeout: 272 seconds]
17:20
paolooo has joined #ocaml
17:22
zpe has joined #ocaml
17:22
patojo has joined #ocaml
17:24
Cyanure has joined #ocaml
17:26
zpe has quit [Ping timeout: 250 seconds]
17:28
zpe has joined #ocaml
17:36
yacks has quit [Quit: Leaving]
17:37
nicoo has joined #ocaml
17:42
bitbckt_ is now known as bitbckt
17:42
bitbckt has quit [Changing host]
17:42
bitbckt has joined #ocaml
17:52
NoNNaN has joined #ocaml
17:54
<
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
17:55
<
warrick >
working with file input anyways, no need be fancy
17:58
sad0ur_ has quit [Ping timeout: 245 seconds]
18:01
patojo has quit [Remote host closed the connection]
18:03
hhugo has joined #ocaml
18:04
paolooo has quit [Ping timeout: 246 seconds]
18:05
omqal has joined #ocaml
18:05
sad0ur has joined #ocaml
18:07
patojo has joined #ocaml
18:18
avsm has quit [Quit: Leaving.]
18:19
avsm has joined #ocaml
18:22
patojo has quit [Remote host closed the connection]
18:24
zpe has quit [Remote host closed the connection]
18:25
zpe has joined #ocaml
18:29
zpe has quit [Ping timeout: 260 seconds]
18:33
shinnya has joined #ocaml
18:41
ygrek_ has joined #ocaml
18:41
ollehar has joined #ocaml
18:47
hhugo has quit [Quit: Leaving.]
18:50
martintrojer_ has quit [Ping timeout: 245 seconds]
18:52
martintrojer has joined #ocaml
18:55
mort___ has joined #ocaml
19:01
WraithM has joined #ocaml
19:04
zpe has joined #ocaml
19:06
NoNNaN has quit [Ping timeout: 264 seconds]
19:07
ontologiae has joined #ocaml
19:12
ontologiae has quit [Ping timeout: 260 seconds]
19:13
madroach has joined #ocaml
19:15
misv_ is now known as misv
19:17
avsm has quit [Quit: Leaving.]
19:18
reynir has quit [Quit: WeeChat 0.4.1]
19:18
ollehar has quit [Quit: ollehar]
19:19
reynir has joined #ocaml
19:29
omqal has quit [Quit: omqal]
19:33
WraithM has quit [Ping timeout: 246 seconds]
19:34
WraithM has joined #ocaml
19:40
zpe has quit [Remote host closed the connection]
19:41
zpe has joined #ocaml
19:41
BiDOrD has quit [Remote host closed the connection]
19:41
BiDOrD has joined #ocaml
19:44
thomasga has quit [Quit: Leaving.]
19:46
zpe has quit [Ping timeout: 272 seconds]
19:47
mort___ has quit [Quit: Leaving.]
19:54
ygrek_ has quit [Ping timeout: 246 seconds]
19:58
thomasga has joined #ocaml
20:00
morphles has quit [Ping timeout: 260 seconds]
20:01
WraithM has quit [Ping timeout: 255 seconds]
20:15
mort___ has joined #ocaml
20:36
axiles has quit [Remote host closed the connection]
20:37
samrat has quit [Quit: Computer has gone to sleep.]
20:41
NoNNaN has joined #ocaml
20:50
WraithM has joined #ocaml
20:50
ontologiae has joined #ocaml
20:52
zpe has joined #ocaml
20:56
zpe has quit [Ping timeout: 260 seconds]
20:57
ygrek_ has joined #ocaml
21:00
Cyanure has quit [Remote host closed the connection]
21:03
dwoos has joined #ocaml
21:11
oscar_toro has quit [Ping timeout: 250 seconds]
21:14
malo has joined #ocaml
21:28
tane has quit [Quit: Verlassend]
21:37
patojo has joined #ocaml
21:42
englishm has quit [Remote host closed the connection]
21:42
patojo has quit [Quit: Leaving...]
21:43
englishm has joined #ocaml
21:43
WraithM has quit [Ping timeout: 250 seconds]
21:45
tac_ has quit [Quit: Leaving]
21:47
Nahra has joined #ocaml
22:05
MercurialAlchemi has quit [Ping timeout: 260 seconds]
22:17
tac_ has joined #ocaml
22:20
WraithM has joined #ocaml
22:21
Kakadu has quit [Quit: Konversation terminated!]
22:21
mort___ has quit [Quit: Leaving.]
22:39
araujo has joined #ocaml
22:39
araujo has joined #ocaml
22:42
englishm has quit [Remote host closed the connection]
22:42
englishm has joined #ocaml
22:44
malo has quit [Ping timeout: 272 seconds]
22:47
englishm has quit [Remote host closed the connection]
22:48
englishm has joined #ocaml
23:01
rgrinberg has joined #ocaml
23:05
johnelse_ is now known as johnelse
23:09
fold has quit [Ping timeout: 250 seconds]
23:12
englishm has quit [Remote host closed the connection]
23:13
englishm has joined #ocaml
23:18
Cypi_ is now known as Cypi
23:19
Simn has quit [Quit: Leaving]
23:20
ygrek_ has quit [Ping timeout: 272 seconds]
23:21
WanderingGlitch has quit [Changing host]
23:21
WanderingGlitch has joined #ocaml
23:21
wormphlegm has joined #ocaml
23:23
rand000 has quit [Quit: leaving]
23:27
wormphlegm has quit [Quit: Lost terminal]
23:28
omqal has joined #ocaml
23:28
omqal has quit [Client Quit]
23:28
Neros_ has joined #ocaml
23:29
Neros_ has quit [Client Quit]
23:30
wormphlegm has joined #ocaml
23:32
thomasga has quit [Quit: Leaving.]
23:34
madroach has quit [Ping timeout: 272 seconds]
23:35
darkf has joined #ocaml
23:36
madroach has joined #ocaml
23:37
def` has quit [Ping timeout: 245 seconds]
23:37
adrien has quit [Ping timeout: 260 seconds]
23:38
Asmadeus has quit [Ping timeout: 245 seconds]
23:38
shinnya has quit [Ping timeout: 258 seconds]
23:38
pollux has quit [Ping timeout: 272 seconds]
23:39
BiDOrD has quit [Ping timeout: 260 seconds]
23:40
NoNNaN has quit [Remote host closed the connection]
23:40
BiDOrD has joined #ocaml
23:40
NoNNaN has joined #ocaml
23:41
shinnya has joined #ocaml
23:44
topher_b has joined #ocaml
23:46
rgrinberg has quit [Quit: Leaving.]
23:50
def` has joined #ocaml
23:52
pollux has joined #ocaml
23:53
adrien has joined #ocaml
23:54
Asmadeus has joined #ocaml