Yurik changed the topic of #ocaml to: http://icfpcontest.cse.ogi.edu/ -- OCaml wins | http://www.ocaml.org/ | http://caml.inria.fr/oreilly-book/ | http://icfp2002.cs.brown.edu/ | SWIG now supports OCaml| Early releases of OCamlBDB and OCamlGettext are available
clog has joined #ocaml
smklsmkl has joined #ocaml
smkl has quit [Read error: 54 (Connection reset by peer)]
smklsmkl has quit [Read error: 104 (Connection reset by peer)]
smklsmkl has joined #ocaml
xmkl has joined #ocaml
smklsmkl has quit [Success]
smklsmkl has joined #ocaml
smklsmkl has quit [Read error: 104 (Connection reset by peer)]
smklsmkl has joined #ocaml
xmkl has quit [Read error: 60 (Operation timed out)]
xmkl has joined #ocaml
smklsmkl has quit [Read error: 104 (Connection reset by peer)]
xmkl has quit [Remote closed the connection]
xmkl has joined #ocaml
xmkl has quit [Read error: 104 (Connection reset by peer)]
smklsmkl has joined #ocaml
TachYon has joined #ocaml
coolduck has joined #ocaml
TachYon has quit ["Client Exiting"]
coolduck has quit ["Client Exiting"]
skylan has quit [Read error: 104 (Connection reset by peer)]
skylan has joined #ocaml
smklsmkl is now known as smkl
karryall has joined #ocaml
TachYon26 has joined #ocaml
foxster has quit [Read error: 104 (Connection reset by peer)]
smkl has quit [Read error: 104 (Connection reset by peer)]
smklsmkl has joined #ocaml
emu has quit [Read error: 104 (Connection reset by peer)]
emu has joined #ocaml
xmkl has joined #ocaml
vegai has joined #ocaml
smklsmkl has quit [Read error: 104 (Connection reset by peer)]
vegai_ has quit [Read error: 104 (Connection reset by peer)]
mattam_ has joined #ocaml
mattam has quit [Read error: 60 (Operation timed out)]
docelic|sleepo is now known as docelic|away
<liyang> 'ullo all...
<liyang> how do I have a module export a non-opaque type without having the (identical) type definition twice? (Once in the implementation, other in the interface.)
<karryall> liyang: you can't
<liyang> ick... it's a good thing this is only a single line, but surely you wouldn't want to do that for anything larger?
<karryall> you can use the -i option of the compiler : it ouputs the type of the module it compiles
<liyang> Hm... Is that what people normally do? I've a single-implementation module here (and have no intention to make another one; it's just what I gleaned from The Book)... should I just stick to a single source file in that case?
<karryall> Hum. I'm not sure I understand you.
<liyang> (but what if I do want to hide certain bits of the module...)
<karryall> If you have a "small" .ml file, you can use it without a .mli
<karryall> but if you want to hide some things you have to use a .mli
<liyang> I've a module.ml and module.mli -- I'd rather not duplicate information in both files if I can possible avoid it...
<karryall> anyway the compiler checks that the 2 files are consistent
<liyang> ah okay...
<karryall> ... and that's what people normally do
<liyang> thanks for pointing out -i to me. I'll keep that one in mind. :)
<mellum> you don't really need a .mli...
<mellum> if you don't provide one, the compiler will just assume you export everything.
<liyang> I'd like to keep a few things hidden though, that's the thing.
mattam_ has quit [Read error: 54 (Connection reset by peer)]
mattam has joined #ocaml
docelic|away is now known as docelic
docelic is now known as docelic|away
mattam has quit [brunner.freenode.net irc.freenode.net]
mrvn has quit [brunner.freenode.net irc.freenode.net]
asqui has quit [brunner.freenode.net irc.freenode.net]
avn has quit [brunner.freenode.net irc.freenode.net]
liyang has quit [brunner.freenode.net irc.freenode.net]
mattam has joined #ocaml
mrvn has joined #ocaml
asqui has joined #ocaml
liyang has joined #ocaml
avn has joined #ocaml
coolduck has joined #ocaml
xmkl is now known as smkl
docelic|away is now known as docelic
polin8 has quit [Read error: 104 (Connection reset by peer)]
karryall has quit ["ERC vVersion 3.0 $Revision: 1.328 $ (IRC client for Emacs)"]
polin8 has joined #ocaml
TachYon26 has quit [Remote closed the connection]
Vincenz has joined #ocaml
coolice has joined #ocaml
sarastro has joined #ocaml
sarastro has quit ["Client Exiting"]
rox is now known as rox|aussgegangen
karryall has joined #ocaml
clog has joined #ocaml
TachYon has joined #ocaml
mellum has quit ["ircII EPIC4-1.1.7 -- Are we there yet?"]
seth has quit [Killed (NickServ (Ghost: seth_!~seth@p3EE28461.dip.t-dialin.net))]
seth_ has joined #ocaml
docelic has quit [Read error: 113 (No route to host)]
rox|aussgegangen is now known as rox
docelic has joined #ocaml
Vincenz has quit []
Psion has joined #ocaml
Smerdyakov has quit [Read error: 104 (Connection reset by peer)]
Psion is now known as Smerdyakov
docelic has quit ["brb, going to sing mode for a sec"]
docelic has joined #ocaml
skylan has quit [Read error: 104 (Connection reset by peer)]
skylan has joined #ocaml
skylan has quit [Read error: 60 (Operation timed out)]
skylan has joined #ocaml