systems 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 | Caml Weekly news http://pauillac.inria.fr/~aschmitt/cwn/
<drlion> another one -- i'm really sorry about the complicated explanation: i have two classes foo and bar, where bar inherits from foo, and foo contains a method adopt that takes another foo. foo takes a constructor parameter called parent, on which it invokes adopt with self as an argument. bar also takes such a paramter, which it uses to inherit foo. now the problem is that when i try to create a bar and pass a foo to the construc
<drlion> i suspect that this might be because there's an initializer in foo: initializer parent#adopt self and when bar inherits this, self will actually be a bar -- not a foo. so my question then becomes: how can i avoid this and instead always use the base class foo? in other programming languages, i believe i would use some sort of upcast
<drlion> i understand if noone feels like trying to interpret all that. there's another clue though: the compiler also tells me regarding this that "self type cannot escape its class," which does sound rather dramatic, but unfortunately doesn't tell me much. what does it mean?
<Kinners> I don't know much about the class system yet, but there is some slight magic required with up/down casting
olrion has quit [Read error: 113 (No route to host)]
systems has joined #ocaml
systems has quit ["Client Exiting"]
<drlion> Kinners: yeah, that's the impression i get too. anyway, i have no idea how to solve the problem, so i'm currently reading through the manual again :-)
whee has quit ["My damn controlling terminal disappeared!"]
docelic has quit ["later"]
reltuk has joined #ocaml
lament has joined #ocaml
Kinners has quit [Read error: 110 (Connection timed out)]
whee has joined #ocaml
gl has quit [asimov.freenode.net irc.freenode.net]
gl has joined #ocaml
Smerdyakov has joined #ocaml
rhil has quit [Read error: 104 (Connection reset by peer)]
rhil has joined #ocaml
Smerdyakov has quit ["gworgh"]
wax has quit [Remote closed the connection]
wax has joined #ocaml
reltuk has quit ["Client exiting"]
mattam has joined #ocaml
rhil is now known as rhil_zzz
TachYon has joined #ocaml
TachYon has quit [Remote closed the connection]
smklsmkl has quit [Read error: 54 (Connection reset by peer)]
smklsmkl has joined #ocaml
_DL_ has joined #ocaml
_DL_ has quit [Client Quit]
lament has quit ["I WILL NOT BELCH THE NATIONAL ANTHEM"]
Yurik has joined #ocaml
__DL__ has quit [Read error: 54 (Connection reset by peer)]
lus|wazze has quit ["Quidquid latine dictum sit, altum sonatur."]
systems has joined #ocaml
__DL__ has joined #ocaml
rox has quit [Read error: 60 (Operation timed out)]
docelic has joined #ocaml
systems has quit [Read error: 110 (Connection timed out)]
AndyA has joined #ocaml
rox has joined #ocaml
gene9 has joined #ocaml
olrion has joined #ocaml
<olrion> hi guys
gene9 has quit [Read error: 54 (Connection reset by peer)]
karryall has joined #ocaml
rhil_zzz is now known as rhil_sea
gene9 has joined #ocaml
Zadeh_ has joined #ocaml
Zadeh has quit [Read error: 104 (Connection reset by peer)]
foxster has quit [Read error: 104 (Connection reset by peer)]
Smerdyakov has joined #ocaml
gene9 has quit []
AndyA has left #ocaml []
owll has joined #ocaml
async has joined #ocaml
<async> is there a Hastbl structure that is totally polymorphic?
<async> i.e, you can add ("key","keyval") and ("key
<async> i.e, you can add ("key","keyval") and ("key",12)
<vegai> hmm, can't use 'a there?
* vegai tries
<karryall> of course not
<karryall> use a variant type
<vegai> of course not? why?
<karryall> how would you know wether you data is an int (12) or a string ("keyval")
<vegai> hmm, yes
<async> karryall: yea
<async> the second type depends on the first type
<async> like if the string is "asdf" or "sdjfv" then the second type is a string
<async> etc..
<async> i could use a type
<vegai> I still keep thinking too dynamically for this language
<async> type secondval = Str of string | Number of int ;;
Smerdyakov has quit ["out on the town!"]
<karryall> async: that's the idea
karryall has quit ["tcho"]
rox has quit [Remote closed the connection]
rox has joined #ocaml
TachYon has joined #ocaml
TachYon has quit ["Client Exiting"]
rox has quit [Remote closed the connection]
rox has joined #ocaml
det has joined #ocaml
Vincenz has joined #ocaml
<Vincenz> ICFP is in like a week and a half
<vegai> aye ;-/
* Vincenz wouldn't mind joining a team
Z4rd0Z has joined #ocaml
<det> Is there even an ICFP page up ?
<det> for 2003
<Vincenz> yup
owll has quit ["Client Exiting"]
<Vincenz> hmm
pvdabeel has joined #ocaml
* Vincenz sighs as he thought it would be in august
* Vincenz has a gentoo-box...
<olrion> me too
<vegai> it took you too long to install the OS that you missed ICFP? =)
<Vincenz> hehe, no
pvdabeel has quit ["bbiab"]
<Vincenz> I was just -hinting- that if anyone wants to form a team..
foxster has joined #ocaml
<det> Vincenz: NAIBED
<Vincenz> NAIBED?
<Vincenz> oh
<Vincenz> I tried installing that before
<Vincenz> it didn't like my proxy for netinstall
<det> wow, my punchline has no steam now
* Vincenz pats det on the back
<Vincenz> But I've heard great things about mandrake too
olrion has quit ["I like core dumps"]
det has quit [Remote closed the connection]
mrvn_ has joined #ocaml
mrvn has quit [Read error: 110 (Connection timed out)]
<Vincenz> is it possible to run two OS's at the same time?
<mrvn_> depending on what OS you run them under.
<Vincenz> linux on xp
<mrvn_> theres vmware
<Vincenz> hmm...expensive :/
<mrvn_> linux also has plex86
<Vincenz> is it good? fast?
<mrvn_> suposedly slower than vmware but its free.
* Vincenz nods "Thanks"
<Vincenz> we should form an #ocaml team
<Riastradh> Bah!
<Vincenz> Riastradh: I'd join but I'm not sure how good I'd be
<Vincenz> I'm good at programming and thinking things through, just don't know much of the library
systems has joined #ocaml
<vegai> there is an Ocaml-team, right?
<vegai> of course there is, stupid question
<Riastradh> There are always lots of OCaml teams.
<vegai> no wonder
<systems> ??
<vegai> ICFP
<systems> 2 days to solve it, 1 month to notify the winner 2 months to announce it
<systems> this competetion is evil
<Vincenz> hehe
Z4rd0Z has quit ["Client exiting"]
ionOS has joined #ocaml
ionOS has left #ocaml []
systems has quit ["Client Exiting"]
wrunt has quit [Remote closed the connection]
wrunt has joined #ocaml
foxster has quit [Read error: 104 (Connection reset by peer)]
lus|wazze has joined #ocaml
foxster has joined #ocaml
lus|wazze has quit ["Quidquid latine dictum sit, altum sonatur."]
lus|wazze has joined #ocaml
<Vincenz> night ppl
Vincenz has quit []
docelic is now known as docelic|sleepo