00:05
joshcryer has quit [Client Quit]
00:22
pango_ has joined #ocaml
00:38
pango has quit [Remote closed the connection]
01:13
jacobian_ has quit [Connection timed out]
01:13
jacobian_ has joined #ocaml
01:33
<
seafood >
I've got a question. Where would be a good place to learn about the OCaml module language? I'm looking for a little more than is provided by the OCaml documentation.
01:40
jacobian_ has quit [Success]
01:40
jacobian_ has joined #ocaml
01:49
<
beschmi >
seafood: are you looking for some really complicated examples?
01:50
<
beschmi >
or a more detailed explanation
02:30
ikaros_ has quit [Read error: 110 (Connection timed out)]
02:41
bzzbzz has joined #ocaml
02:51
<
seafood >
beschmi: More detailed explanation.
02:51
<
seafood >
I have another question now and it's about the ocaml interactive environment.
02:51
<
seafood >
I find it quite annoying that when I #load something it doesn't automatically #load the dependencies.
02:53
setog3 has quit [Remote closed the connection]
02:53
setog3 has joined #ocaml
02:54
<
seafood >
I also didn't find ocamlmktop to be that useful.
02:54
<
seafood >
It seemed like I had to put the .cmo files on the command line in dependency order. Argh.
02:57
<
beschmi >
seafood: there is a chapter about the module language in the o'reilly book
02:58
<
seafood >
beschmi: Thanks!
02:58
<
beschmi >
i use a local .ocamlinit for my projects most of the time
02:59
<
beschmi >
and compile a library of the whole project for loading into the toplevel (make bcl with OCamlMakefile)
02:59
<
seafood >
Do you need to put the dependency order in there yourself?
02:59
<
seafood >
Do you recommend OcamlMakefile?
03:02
<
beschmi >
it uses ocamldep to calculate the deps (in my sources), i have to list all needed packages
03:05
<
beschmi >
seafood: ocamlmakefile works for me, it can be a little hard to debug from time to time
03:09
<
seafood >
How is it that ocamlc can work out the dependencies but ocaml can't?
03:09
<
seafood >
(Or won't.)
03:11
<
beschmi >
ocamlc can't either. it's just a batch compiler (like ghc without --make). There is a separate ocamldep tool
03:24
<
seafood >
beschmi: Hmmm. Well that's good to know I guess.
04:09
<
eradman >
One of which is that lists are [ ; ; ] instead of [ , , ]
04:09
<
eradman >
Is there a reason for the change?
04:10
<
Smerdyakov >
It's not right to call it a change. Neither of SML or OCaml is descended from the other.
04:12
<
eradman >
So this would be like comparing lisp and scheme? (e.g. dialect of != descendant)
04:21
khaladan_ has joined #ocaml
04:22
ikaros has joined #ocaml
04:37
khaladan has quit [Connection timed out]
04:37
khaladan_ is now known as khaladan
04:48
triple_ has joined #ocaml
05:06
bzzbzz has quit [Read error: 110 (Connection timed out)]
05:25
beschmi has quit [Read error: 113 (No route to host)]
05:44
Smerdyakov has quit ["Leaving"]
07:06
johnnowak has joined #ocaml
07:11
_velco has joined #ocaml
07:31
ramkrsna has quit [Remote closed the connection]
07:51
ramkrsna has joined #ocaml
08:04
johnnowak has quit []
08:06
johnnowak has joined #ocaml
08:07
sponge45 has quit ["zzzzzzzzzz"]
08:24
velco has joined #ocaml
08:31
johnnowak has quit []
09:06
setog3 has quit [Read error: 54 (Connection reset by peer)]
09:07
setog3 has joined #ocaml
09:10
love-pingoo has joined #ocaml
09:16
ikaros has quit [Read error: 110 (Connection timed out)]
09:16
ikaros has joined #ocaml
09:18
pango_ has quit ["Client exiting"]
09:26
johnnowak has joined #ocaml
09:27
pango has joined #ocaml
10:28
johnnowak has quit []
11:12
slipstream has joined #ocaml
11:23
slipstream-- has quit [Read error: 110 (Connection timed out)]
12:40
datrus has joined #ocaml
12:48
ikaros_ has joined #ocaml
13:02
<
datrus >
does anyone know the function that extracts the first element of a tuple?
13:04
<
flux__ >
there isn't one for generic case
13:05
<
flux__ >
but there is fst
13:05
<
flux__ >
otherwise you'll need pattern matching, ie. let (x, _, _, _) = tuple in x
13:05
<
flux__ >
or some language extension that provided something like tuple(3|1) or something :-)
13:07
beschmi has joined #ocaml
13:12
<
datrus >
ok, thanks i can use fst
13:33
khaladan_ has joined #ocaml
13:33
khaladan has quit [Read error: 110 (Connection timed out)]
13:51
dark_light has joined #ocaml
13:52
khaladan_ has quit [Read error: 110 (Connection timed out)]
13:59
ikaros_ has quit [Read error: 113 (No route to host)]
14:00
ikaros_ has joined #ocaml
14:06
pango has quit [Remote closed the connection]
14:07
pango has joined #ocaml
14:29
khaladan has joined #ocaml
14:35
khaladan_ has joined #ocaml
14:52
khaladan has quit [Read error: 110 (Connection timed out)]
14:52
khaladan_ is now known as khaladan
15:05
ikaros_ has quit [Read error: 113 (No route to host)]
15:33
Smerdyakov has joined #ocaml
15:39
Leonidas has joined #ocaml
16:14
Demitar has quit ["Ex-Chat"]
16:17
smimou has joined #ocaml
16:21
gim_ has joined #ocaml
16:30
gim__ has joined #ocaml
16:33
arghgim has joined #ocaml
16:35
arghgim has left #ocaml []
16:42
gim_ has quit [Read error: 104 (Connection reset by peer)]
16:43
velco has quit ["Ex-Chat"]
16:46
gim__ has quit [Read error: 110 (Connection timed out)]
16:49
Leonidas has quit [Remote closed the connection]
16:56
|narofi| has joined #ocaml
17:07
love-pingoo has quit ["Leaving"]
17:40
_velco has quit ["I'm outta here ..."]
17:48
bluestorm has joined #ocaml
18:31
pango has quit [Remote closed the connection]
18:34
jacobian_ has quit [Connection timed out]
18:37
jacobian_ has joined #ocaml
18:42
pango has joined #ocaml
18:43
bzzbzz has joined #ocaml
18:58
|narofi| has quit [Remote closed the connection]
19:24
setog3 has left #ocaml []
19:29
Leonidas has joined #ocaml
19:29
rillig has joined #ocaml
20:01
Leonidas has quit ["An ideal world is left as an exercise to the reader"]
20:44
mnemonic has joined #ocaml
20:55
sponge45 has joined #ocaml
21:15
klapmuetz has joined #ocaml
22:14
Revision17 has quit ["Ex-Chat"]
22:32
buluca has joined #ocaml
22:53
menace has joined #ocaml
22:54
bluestorm has quit ["Konversation terminated!"]
23:07
mnemonic has quit ["leaving"]
23:12
sponge45 has quit ["zzzzzzzzzz"]
23:22
menace has quit [Read error: 104 (Connection reset by peer)]
23:22
pango is now known as pangon8
23:30
malc_ has joined #ocaml
23:35
mnemonic has joined #ocaml
23:48
rillig has quit ["exit(EXIT_SUCCESS)"]