karryall has quit ["ERC vVersion 3.0 $Revision: 1.328 $ (IRC client for Emacs)"]
brwill_zzz is now known as brwill
eno has joined #ocaml
cjohnson has quit ["Back to the desert of the real."]
eno has quit ["[BX] Eat, drink and be merry...for tomorrow we die"]
intravwos has joined #ocaml
intravwos has left #ocaml []
buggs|afk is now known as buggs
whee has quit ["Leaving"]
mattam has joined #ocaml
mattam_ has quit [Read error: 110 (Connection timed out)]
bk_ has quit ["I'll be back"]
Yurik has quit [Read error: 113 (No route to host)]
det has joined #ocaml
Xcalibor has joined #ocaml
Riastrad1 has joined #ocaml
Riastradh has quit [Read error: 60 (Operation timed out)]
vect is now known as gl
Vincenz has joined #ocaml
det has quit ["I sleep"]
whee has joined #ocaml
brwill is now known as brwill_zzz
Riastrad1 is now known as Riastradh
phubuh has joined #ocaml
buggs|afk has joined #ocaml
buggs has quit [Read error: 110 (Connection timed out)]
wax has quit [Read error: 104 (Connection reset by peer)]
systems has joined #ocaml
Hipo has quit [Read error: 104 (Connection reset by peer)]
Hipo has joined #ocaml
systems has quit [Read error: 110 (Connection timed out)]
bk_ has joined #ocaml
bk_ has quit ["Terminated with extreme prejudice - dircproxy 1.0.5"]
bk_ has joined #ocaml
mrvn_ has joined #ocaml
mrvn has quit [Read error: 110 (Connection timed out)]
Hipo has quit [Read error: 110 (Connection timed out)]
<Maddas>
heh, ocaml is so powerful
<Xcalibor>
Maddas: indeed :-)
<Maddas>
Gotta work on my skills :)
<Xcalibor>
good luck :-)
* Xcalibor
find the module concept a bit confusing
<Xcalibor>
+s
<Xcalibor>
is there something in OCaml similar to a perl module?
<Xcalibor>
and how do make it?
<Smerdyakov>
What are the characteristics of a Perl module that you want? (I'm not familiar with them.)
<Xcalibor>
Smerdyakov: it's basically a separate namespace that holds functions and variables (which can be objects, functions, or any type value)
<phubuh>
that'd be a module
<phubuh>
a module is created for every .ml file, in fact
<Xcalibor>
but there's all that confusing functor thing and... i got lost reading all that
<Riastradh>
Functors are just functions at compile-time that return modules.
<phubuh>
you don't have to know about functors to use module as you'd use them in perl
<Xcalibor>
mmm... what's the diffrence of using a functor and an .ml file?
<Riastradh>
They're orthogonal.
<phubuh>
i'd say that modules are easier to create and use in o'caml, actually -- you just write your stuff in mymodule.ml, and then use the values as Mymodule.value in the other files
<Xcalibor>
mmm... so what good are functors for?
<Riastradh>
Modules to be instantiated multiple times with the only differences depending on the parametres.
<Riastradh>
For example, look at the Set module in the standard library.
<phubuh>
they're /kind of/ like templates in C++
<Xcalibor>
parameterized modules?
<Xcalibor>
mmm... because of the type system?
<Xcalibor>
damn... gotta read more about it... any URL where this is explained in a sensible way (not tat yours weren't sensible :) ??