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
TachYon has joined #ocaml
TachYon has quit [Remote closed the connection]
brwill_out is now known as brwill
mattam_ is now known as mattam
lms has joined #ocaml
Kinners has joined #ocaml
drWorm has quit [Read error: 113 (No route to host)]
Kinners has left #ocaml []
maihem has quit ["Client exiting"]
lms_ has joined #ocaml
lms has quit [Read error: 104 (Connection reset by peer)]
lms_ is now known as lms
lms_ has joined #ocaml
lms has quit [Read error: 104 (Connection reset by peer)]
lms_ is now known as lms
brwill is now known as brwill_zzz
Herrchen has quit [Read error: 110 (Connection timed out)]
wuuru has quit [Read error: 110 (Connection timed out)]
Etaoin has quit ["Client exiting"]
Etaoin has joined #ocaml
Etaoin has quit ["Client exiting"]
wazze has joined #ocaml
Etaoin has joined #ocaml
Herrchen has joined #ocaml
Etaoin has quit [Read error: 54 (Connection reset by peer)]
Etaoin has joined #ocaml
<lms> the tutorial (in the topic) says that there's no performance difference between "let" and "let rec" when defining functions, so what flavor do you guys prefer? "let rec" just for recursive functions, or always?
<ayrnieu> I use 'let rec' just for recursive functions.
<ayrnieu> I don't understand what would motivate you to stick to one or the other 'just because'.
<lms> the tutorial throws the idea up in the air, don't blame me
<lms> "so if you prefer you could always use the let rec form"
<ayrnieu> Nice to know, I guess.
<lms> by the way, I wasn't talking about "sticking to one or the other," because obviously I'd have to use "let rec" for recursive functions...
<lms> don't really understand why the "rec" is necessary, though, do you have a rationale?
<ayrnieu> Presumably, you sometimes want to define new bindings that build on a previous binding of the same name.
<lms> um, I guess I'll keep reading this tutorial until that makes sense
<ayrnieu> let x = 1 in let x = x + 1 in x;;
TachYon has joined #ocaml
ayrnieu_ has joined #ocaml
ayrnieu has quit [Nick collision from services.]
ayrnieu_ is now known as ayrnieu
lms has quit ["sleep :)"]
srv has joined #ocaml
ayrnieu_ has joined #ocaml
ayrnieu has quit [Read error: 104 (Connection reset by peer)]
ayrnieu_ is now known as ayrnieu
karryall has joined #ocaml
TachYon has quit ["Client Exiting"]
_JusSx_ has joined #ocaml
gim_ has joined #ocaml
Kinners has joined #ocaml
gim|570 has joined #ocaml
gim has quit [Read error: 110 (Connection timed out)]
gim_ has quit [Read error: 104 (Connection reset by peer)]
gim_ has joined #ocaml
gim_ has quit [Read error: 104 (Connection reset by peer)]
gim_ has joined #ocaml
gim_ has quit [Read error: 104 (Connection reset by peer)]
gim_ has joined #ocaml
gim_ has quit [Read error: 104 (Connection reset by peer)]
gim_ has joined #ocaml
gim_ has quit [Read error: 104 (Connection reset by peer)]
gim_ has joined #ocaml
gim_ has quit [Client Quit]
srv has quit ["Lost terminal"]
Kinners has left #ocaml []
<_JusSx_> l
<mellum> The stack overflowing is not Ocaml's fault, it's a limit in your OS
<mellum> Also, integers are 31 bit and not 32 :)
<_JusSx_> hey mellum you don't need to explain it to me
<mellum> Oh, I thought you wrote it
<_JusSx_> lol
<_JusSx_> no i didn't write it
<_JusSx_> i found that article. and i think that guy is quite incompetent
<_JusSx_> well he's using windows to test it
<_JusSx_> and he has got quite a lot of probs
shawn has quit [Read error: 110 (Connection timed out)]
rox has quit [Read error: 113 (No route to host)]
rox has joined #ocaml
mimosa has joined #ocaml
Vincenz has joined #ocaml
Etaoin has quit ["Client exiting"]
jrosdahl has quit [Read error: 110 (Connection timed out)]
Etaoin has joined #ocaml
karryall has quit ["home"]
_JusSx_ has quit ["No windows for this server"]
brwill_zzz is now known as brwill_work
jrosdahl has joined #ocaml
Etaoin has quit ["Client exiting"]
<carm> Anyone familiar with using scanf?
<mellum> carm: try asking a more specific question
<carm> mellum: ok. the type is specificed as: ('a, Scanning.scanbuf, 'b) Pervasives.format -> 'a -> 'b
<carm> Could you give me one example of typical arguments pased to this function?
<Smerdyakov> This must be in the manual.
<Smerdyakov> It uses special format string support hacked into OCaml.
<carm> I see.
<carm> ok I found it
Etaoin has joined #ocaml
Etaoin has quit ["Client exiting"]
* Smerdyakov wonders what effect finalization support has on efficiency of general case garbage collection.
Etaoin has joined #ocaml
jrosdahl has quit [Read error: 110 (Connection timed out)]
<mellum> Smerdyakov: not a lot, I would guess. The GC simply invokes some code in some cases
gim has joined #ocaml
<Smerdyakov> mellum, but it has to store an extra field and check it for each heap allocated object, yes?
<mellum> Smerdyakov: no, only for some heap allocated objects, since not all can have finalizers. I think it only works with custom types. Those have a pointer to a descriptor already anyway, only the descriptor gets larger, but it only exists once per type
<Smerdyakov> Ah, I get it now.
mattam_ has joined #ocaml
_JusSx_ has joined #ocaml
shawn has joined #ocaml
Tomasso has joined #ocaml
mattam has quit [Connection timed out]
gim|570 has quit [Read error: 110 (Connection timed out)]
Etaoin has quit ["Client exiting"]
Smerdy has joined #ocaml
Smerdyakov has quit [Read error: 110 (Connection timed out)]
mattam_ is now known as mattam
Smerdya has joined #ocaml
Smerdya is now known as Smerdyakov
Smerdy has quit [Read error: 110 (Connection timed out)]
<Maddas> Riastradh: Do you mind an OT question?
wazze has quit ["If we don't believe in freedom of expression for people we despise, we don't believe in it at all -- Noam Chomsky"]
<Smerdyakov> Who cares if he minds? Ask away!
JX_ has joined #ocaml
<Maddas> Can you recommend any OS X newsreader?
<Smerdyakov> Aren't there OS X channels?
JX has quit [Read error: 110 (Connection timed out)]
<Maddas> Smerdyakov: I don't know of any.
Etaoin has joined #ocaml
owll has joined #ocaml
owll has quit [Client Quit]
Etaoin has quit [Remote closed the connection]
Etaoin has joined #ocaml
Vincenz has quit []
Etaoin has quit [Remote closed the connection]
Etaoin has joined #ocaml
Etaoin has quit ["Client exiting"]
<Riastradh> Maddas, nope, I'm having the same problem.
_JusSx_ has quit ["[BX] I'm out like a light..."]
simon- has joined #ocaml
<simon-> does anyone have either documentation or sample code of network code?
<simon-> hello?
<Riastradh> Hi.
<simon-> Hello, Riastradh
<Maddas> Hm, ok.
Etaoin has joined #ocaml
<simon-> where are the Unix socket functions documented?
Kinners has joined #ocaml
Riastrad1 has joined #ocaml
Riastradh has quit [Nick collision from services.]
Riastrad1 is now known as Riastradh