vect changed the topic of #ocaml to: OCaml 3.07 ! -- Archive of Caml Weekly News: http://pauillac.inria.fr/~aschmitt/cwn, ICFP'03 http://www.icfpcontest.org/, A tutorial: http://merjis.com/richj/computers/ocaml/tutorial/, A free book: http://cristal.inria.fr/~remy/cours/appsem, Mailing List (best ml ever for any computer language): http://caml.inria.fr/bin/wilma/caml-list
Kinners has left #ocaml []
mimosa has quit ["I like core dumps"]
mimosa has joined #ocaml
__DL__ has quit ["Bye Bye"]
mimosa has quit ["I like core dumps"]
g1m has quit ["dodo enfin... bonne nuit"]
wrunt has quit [orwell.freenode.net irc.freenode.net]
smkl has quit [orwell.freenode.net irc.freenode.net]
rox has quit [orwell.freenode.net irc.freenode.net]
wax has quit [orwell.freenode.net irc.freenode.net]
mw has quit [orwell.freenode.net irc.freenode.net]
phubuh has quit [orwell.freenode.net irc.freenode.net]
teratorn has quit [orwell.freenode.net irc.freenode.net]
Etaoin has quit [orwell.freenode.net irc.freenode.net]
Smerdyakov has quit [orwell.freenode.net irc.freenode.net]
Riastradh has quit [orwell.freenode.net irc.freenode.net]
cm has quit [orwell.freenode.net irc.freenode.net]
The-Fixer has quit [orwell.freenode.net irc.freenode.net]
themus has quit [orwell.freenode.net irc.freenode.net]
mattam has quit [orwell.freenode.net irc.freenode.net]
vect has quit [orwell.freenode.net irc.freenode.net]
mellum has quit [orwell.freenode.net irc.freenode.net]
karryall has quit [orwell.freenode.net irc.freenode.net]
Hipo has quit [orwell.freenode.net irc.freenode.net]
det has quit [orwell.freenode.net irc.freenode.net]
brwill_out has quit [orwell.freenode.net irc.freenode.net]
det has joined #ocaml
brwill_out has joined #ocaml
Hipo has joined #ocaml
karryall has joined #ocaml
The-Fixer has joined #ocaml
wax has joined #ocaml
mellum has joined #ocaml
vect has joined #ocaml
phubuh has joined #ocaml
mattam has joined #ocaml
Smerdyakov has joined #ocaml
smkl has joined #ocaml
rox has joined #ocaml
teratorn has joined #ocaml
mw has joined #ocaml
Etaoin has joined #ocaml
Riastradh has joined #ocaml
cm has joined #ocaml
themus has joined #ocaml
wrunt has joined #ocaml
systems has joined #ocaml
systems has quit ["Client Exiting"]
wrunt has quit [orwell.freenode.net irc.freenode.net]
karryall has quit [orwell.freenode.net irc.freenode.net]
det has quit [orwell.freenode.net irc.freenode.net]
brwill_out has quit [orwell.freenode.net irc.freenode.net]
Hipo has quit [orwell.freenode.net irc.freenode.net]
mellum has quit [orwell.freenode.net irc.freenode.net]
vect has quit [orwell.freenode.net irc.freenode.net]
smkl has quit [orwell.freenode.net irc.freenode.net]
rox has quit [orwell.freenode.net irc.freenode.net]
mw has quit [orwell.freenode.net irc.freenode.net]
phubuh has quit [orwell.freenode.net irc.freenode.net]
wax has quit [orwell.freenode.net irc.freenode.net]
teratorn has quit [orwell.freenode.net irc.freenode.net]
Etaoin has quit [orwell.freenode.net irc.freenode.net]
Smerdyakov has quit [orwell.freenode.net irc.freenode.net]
Riastradh has quit [orwell.freenode.net irc.freenode.net]
cm has quit [orwell.freenode.net irc.freenode.net]
mattam has quit [orwell.freenode.net irc.freenode.net]
The-Fixer has quit [orwell.freenode.net irc.freenode.net]
themus has quit [orwell.freenode.net irc.freenode.net]
wrunt has joined #ocaml
det has joined #ocaml
brwill_out has joined #ocaml
Hipo has joined #ocaml
karryall has joined #ocaml
The-Fixer has joined #ocaml
wax has joined #ocaml
mellum has joined #ocaml
vect has joined #ocaml
phubuh has joined #ocaml
mattam has joined #ocaml
Smerdyakov has joined #ocaml
smkl has joined #ocaml
rox has joined #ocaml
teratorn has joined #ocaml
mw has joined #ocaml
Etaoin has joined #ocaml
Riastradh has joined #ocaml
cm has joined #ocaml
themus has joined #ocaml
Kinners has joined #ocaml
lam_ has joined #ocaml
__DL__ has joined #ocaml
phubuh has quit [Remote closed the connection]
Kinners has left #ocaml []
Demitar has joined #ocaml
__DL__ has quit [Read error: 110 (Connection timed out)]
__DL__ has joined #ocaml
srv has joined #ocaml
g1m has joined #ocaml
yinnte has joined #ocaml
yinnte has quit [Remote closed the connection]
__buggs has joined #ocaml
lus|wazze has joined #ocaml
srv has quit ["leaving"]
buggs|afk has quit [Read error: 110 (Connection timed out)]
karryall has quit [Remote closed the connection]
mimosa has joined #ocaml
brwill_out is now known as brwill
mattam_ has joined #ocaml
brwill is now known as brwill_zzz
mattam has quit [Read error: 60 (Operation timed out)]
smimram_ has joined #ocaml
smimram_ has quit [Client Quit]
smimram_ has joined #ocaml
mimosa has quit [Read error: 60 (Operation timed out)]
srv has joined #ocaml
karryall has joined #ocaml
Demitar has quit [Remote closed the connection]
_cm has joined #ocaml
mattam_ has quit [orwell.freenode.net irc.freenode.net]
cm has quit [orwell.freenode.net irc.freenode.net]
Riastradh has quit [orwell.freenode.net irc.freenode.net]
Smerdyakov has quit [orwell.freenode.net irc.freenode.net]
_cm is now known as cm
mattam_ has joined #ocaml
Smerdyakov has joined #ocaml
Riastradh has joined #ocaml
mattam has joined #ocaml
mattam_ has quit [Connection reset by peer]
owll has joined #ocaml
owll has quit [Client Quit]
Demitar has joined #ocaml
__DL__ has quit ["Bye Bye"]
owll has joined #ocaml
srv has quit ["leaving"]
systems has joined #ocaml
Demitar has quit [Remote closed the connection]
owll has left #ocaml []
Demitar has joined #ocaml
karryall has quit [Remote closed the connection]
systems has quit ["Client Exiting"]
karryall has joined #ocaml
TimFreeman has joined #ocaml
TimFreeman has left #ocaml []
__buggs is now known as buggs
Vincenz has joined #ocaml
brwill_zzz has quit [Read error: 54 (Connection reset by peer)]
owll has joined #ocaml
owll has left #ocaml []
clog has joined #ocaml
owll has joined #ocaml
Hipo has quit ["leaving"]
Maddas has quit [Read error: 110 (Connection timed out)]
karryall has quit [Remote closed the connection]
owll has quit ["Client Exiting"]
smimram_ is now known as mimosa
g1m has quit [Read error: 104 (Connection reset by peer)]
buggs is now known as buggs|afk
g1m has joined #ocaml
systems has joined #ocaml
systems has quit [Client Quit]
owll has joined #ocaml
phubuh has joined #ocaml
<phubuh> How do I restrict the type of a variable to a specific class, instead of to a set of methods?
<phubuh> Do I just use class type instead of class?
<Demitar> Well if you want to restrict it in the sense of that it should have exactly the same interface as the class simply use (x : myclass), if you want to ignore structural equality and use the class name I doubt you can.
owll has quit [Read error: 60 (Operation timed out)]
<phubuh> The latter is what I want.
<Demitar> AFAIK ocaml doesn't care much for class definition hirearchies and relies exclusively on class structure.
<Demitar> You could of course do: method __this_is_class_foobar = () to separate it from the rest. ;-)
<Demitar> But I doubt I've ever concocted an uglier hack. :)
<phubuh> Hmm, I just realized that there isn't even a concept of `inheritance' as such in OCaml, so restricting by class name would be largely useless.
<Smerdyakov> Well, there is inheritance as a coding shortcut, but not recognized by the type system.
g1m has quit [Read error: 54 (Connection reset by peer)]
<Demitar> Unfortunately the class type errors are often barely readable. (Too often one needs to compare large types by hand.)
g1m has joined #ocaml