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
buggs has quit [Read error: 110 (Connection timed out)]
malc has joined #ocaml
mimosa has quit ["I like core dumps"]
cm has quit ["changing servers"]
cm has joined #ocaml
gim has quit ["mnnzZzz.."]
malc has quit ["no reason"]
Herrchen_ has joined #ocaml
Kinners has joined #ocaml
Herrchen has quit [Read error: 110 (Connection timed out)]
Kinners has left #ocaml []
mimosa has joined #ocaml
gim has joined #ocaml
srv has joined #ocaml
buggs|afk has quit [Connection timed out]
asqui has quit [Read error: 60 (Operation timed out)]
karryall has joined #ocaml
Kinners has joined #ocaml
afx is now known as afx|sleep
srv has quit ["leaving"]
ita has quit [Remote closed the connection]
lus|wazze has joined #ocaml
jmarant has joined #ocaml
<jmarant> hi
<karryall> 'llo
<vect> salut bande de gens
<karryall> jmarant: t'as changé de nick ?
Kinners has left #ocaml []
owll has joined #ocaml
owll has quit [Client Quit]
eternite has joined #ocaml
<eternite> hi!
<jmarant> karryall: non, je n'ai pas pris le temps de le changer
jmarant is now known as two-face
Demitar has quit ["Bubbles..."]
Demitar has joined #ocaml
drlion has quit [Ping timeout: 14400 seconds]
<Smerdyakov> Anyone here interested in joining an Internet hosting cooperative?
eternite has quit [Read error: 54 (Connection reset by peer)]
<two-face> what ?
<two-face> who's going to pay for this?
<Smerdyakov> The members.
<Smerdyakov> That's what a cooperative is. :)
<two-face> there is a problem: trust
<Riastradh> ?
<Smerdyakov> Yeah. And there is a potential payoff: Good service from a friendly community. :)
<Smerdyakov> The trust problem is not substantially different from that involved with signing up with a commercial hosting provider.
<two-face> sure, but i'm not sending money to random persons
<Smerdyakov> Why not? You know everyone you buy anything from?
<two-face> sure
two-face has quit ["Fermeture du client"]
* Riastradh attempts to stifle laughter.
karryall has quit ["home"]
<Smerdyakov> Riastradh doesn't want to join because he's a paranoid windbag.
<Riastradh> No, I don't want to join because I have no need for the service.
<smkl> does the US have any big co-op companies?
<Smerdyakov> Yes.
eternite has joined #ocaml
<eternite> re
KAeL[N7] has joined #ocaml
<KAeL[N7]> salut
<KAeL[N7]> j'ai une petite question à propos de filtrages
<KAeL[N7]> il vaut mieux faire :
<Smerdyakov> I think English is a better language for getting answers!
<eternite> yes
<KAeL[N7]> ok
<KAeL[N7]> what's better :
<KAeL[N7]> match A with
<eternite> match a with
<KAeL[N7]> (x,y) when y=z -> ...
<KAeL[N7]> or :
<KAeL[N7]> match a with
<KAeL[N7]> (x,y) -> if y=z then ...
<Smerdyakov> 'match A with' could be valid but boring. :)
<eternite> ;)
<KAeL[N7]> i don't really knowhow ocaml perfom the "match" so is it better to use "if ,, then" or "when" ?
<eternite> Doing as you want is ok
<Smerdyakov> The match will be performed so as to give identical results to if you tried each case in order.
<Smerdyakov> I don't know how this works if you use side-effecting expressions in when-clauses, though.
<eternite> '=' have side-effect ?
<Smerdyakov> Nope. I didn't say his example had side effects.
<smkl> it can throw an exception
<Smerdyakov> smkl, when?
<eternite> stack out ?
<phubuh> I love the ambiguity of that question
<KAeL[N7]> what's the cost ? if i want to compare "y" with 2 or more values, is it the same to use "when" ?
<smkl> when you compare elems that includes functions
<eternite> cost is the same
<smkl> include
<Smerdyakov> smkl, oh, because OCaml does equality checks in an idiotic way. :D
<eternite> Or when you compare recursive strucure ?
<Smerdyakov> smkl, type classes or even SML equality types would mean you'd never need to raise an exception for an equality check.
<smkl> eternite: yeah
The-Fixer has quit ["Goodbye"]
The-Fixer has joined #ocaml
<Hadaka> anyone here who's well versed in ocaml and it's object code, preferably also it's implementation
<Hadaka> um, that was supposed to be a question :)
<phubuh> you'll probably have better luck on the mailing list
<Hadaka> nods
<Hadaka> I'll fish a bit here with questions though :)
<Hadaka> Anyone know if it's possible in any way to have non-virtual methods in ocaml objects? Or the same as java's final methods? That is - to have some means to access object data through a function that can be inlined?
<mellum> Just use a function?
<Hadaka> but how can that access object data?
<Hadaka> other than going through lazy binding methods yet again
<mellum> Hm, I don't know, I haven't really used the OO stuff... I thought you could access them
<Hadaka> As far as I know, only methods can be accessed from objects - and it's kind of obvious that there can be no inlined code there as long as we support subtyping, but still
Scullder has joined #ocaml
<mellum> Why does it have to be an object? Can't you just use a struct?
Scullder has left #ocaml []
<Hadaka> well then I can't get lazy binding resolution on the methods that I _would_ wish it on
<Hadaka> ofcourse I can store all the data in a struct - and have no variables in the object itself - and hook those two together somehow, but that seems overly complicated
<Hadaka> if I go down that lane, I might as well implement virtual function tables by myself
KAeL[N7] has quit ["Leaving"]
joel_ is now known as jrosdahl
<Hadaka> a question about the different networks - when sharing mp3 files, if the id3 and id3v2 tags are different, the hash changes and they will appear as different files - are there any networks which would do anything against this?
<Hadaka> whooops
buggs has joined #ocaml
lam has quit [Read error: 110 (Connection timed out)]
simon- has joined #ocaml
asqui has joined #ocaml
eternite has quit ["Arlg connection crash!"]
two-face has joined #ocaml
two-face has quit ["Client exiting"]
chrisu has joined #ocaml
maihem has joined #ocaml
<simon-> is there a getchar() of ocaml?
<simon-> I'm reading a paper that mentions read_line and only this.
<simon-> I'm unable to find a standard library reference
<simon-> I don't recall that page having an explicit list of standard functions
<simon-> additionally, it doesn't seem to be working right now. I'll check it out later
<Smerdyakov> You have to navigate the table of contents to the appropriate spot.
<simon-> ah
<simon-> Smerdyakov, that page also just lists read_line, read_int and read_float.. is there really no read_char? :-P
<mellum> you need input_char
<mimosa> hello I've got a problem (I hope it not a real one)
<mimosa> I have C bindings in my program which raise exceptions
<mimosa> and it seems that those exceptions are not always catched by try ... with
<mimosa> clue: this seems to happen only when I use threads
<mimosa> has anyone faced a similar issue ?
<mimosa> (hum) anyone alive ?
<Smerdyakov> Never used C bindings with OCaml.
The-Fixer has quit ["Goodbye"]
The-Fixer has joined #ocaml