systems changed the topic of #ocaml to: Archive of Caml Weekly News http://pauillac.inria.fr/~aschmitt/cwn/ | ICFP Programming Contest 2003 http://www.dtek.chalmers.se/groups/icfpcontest/ | A tutorial http://merjis.com/richj/computers/ocaml/tutorial/ | Good free book http://cristal.inria.fr/~remy/cours/appsem/ | Mailing list (best mailing list ever for any computer language) http://caml.inria.fr/bin/wilma/caml-list
bk_ has quit ["I'll be back"]
jdrake has joined #ocaml
Xcalibor has quit ["Terminando cliente"]
systems has joined #ocaml
Riastradh has joined #ocaml
buggs is now known as buggs|afk
systems has quit ["Client Exiting"]
brwill_zzz is now known as brwill
Kinners has joined #ocaml
lam has quit [Remote closed the connection]
jdrake has quit ["Oops. This machine just fell asleep"]
Yurik has quit [Read error: 104 (Connection reset by peer)]
Yurik has joined #ocaml
srv has joined #ocaml
lam has joined #ocaml
Kinners has left #ocaml []
mattam has joined #ocaml
mattam_ has quit [Read error: 110 (Connection timed out)]
irchive_5 has quit [Remote closed the connection]
brwill is now known as brwill_zzz
foxster has quit [Client Quit]
teratorn has quit [leguin.freenode.net irc.freenode.net]
teratorn has joined #ocaml
karryall has joined #ocaml
teratorn has quit [leguin.freenode.net irc.freenode.net]
teratorn has joined #ocaml
teratorn has quit [leguin.freenode.net irc.freenode.net]
teratorn has joined #ocaml
teratorn has quit [leguin.freenode.net irc.freenode.net]
teratorn has joined #ocaml
polin8 has quit [Read error: 110 (Connection timed out)]
teratorn has quit [leguin.freenode.net irc.freenode.net]
teratorn has joined #ocaml
teratorn has quit [leguin.freenode.net irc.freenode.net]
teratorn has joined #ocaml
teratorn has quit [leguin.freenode.net irc.freenode.net]
teratorn has joined #ocaml
lam has quit [Remote closed the connection]
lam has joined #ocaml
teratorn has quit [leguin.freenode.net irc.freenode.net]
teratorn has joined #ocaml
foxster has joined #ocaml
srv has quit [Remote closed the connection]
lam has quit ["leaving"]
lam has joined #ocaml
foxster has quit [Client Quit]
srv has joined #ocaml
karryall has quit ["ERC vVersion 3.0 $Revision: 1.328 $ (IRC client for Emacs)"]
bk_ has joined #ocaml
srv has quit [Remote closed the connection]
foxster has joined #ocaml
Excalibor has joined #ocaml
<Excalibor> greetings
<bk_> hi
<Excalibor> what's up?
buggs|afk has quit ["maybe it crashed"]
<bk_> nothing
foxster has quit [Client Quit]
Smerdy has joined #ocaml
Smerdyakov has quit [Read error: 110 (Connection timed out)]
<Excalibor> wb Smerdy
<Excalibor> ok, time to go home
<Excalibor> will log on later... byes
Excalibor has quit ["Download Gaim [http://gaim.sourceforge.net/]"]
Smerdy is now known as Smerdyakov
buggs has joined #ocaml
systems has joined #ocaml
foxster has joined #ocaml
systems has quit ["Client Exiting"]
d-bug has joined #ocaml
d-bug has left #ocaml []
Vincenz has joined #ocaml
srv has joined #ocaml
karryall has joined #ocaml
systems has joined #ocaml
<srv> dummy question (but I didn't find the answer on google): how can I access the "ab" string in: (1,true,"ab") ?
<Vincenz> let (a, b, c) = (1, true, "ab")
<Vincenz> let (_, _, x) = (1, true, "ab")
<srv> Well, I can do it with a match...
* srv slaps himself
<srv> :)
<srv> Vincenz: thx
<Vincenz> :)
<srv> I was just wondering it there is a "nth" accessor, but it looks like it doesn't exist
<Vincenz> fst and snd
<Vincenz> are defined for pairs
<Vincenz> but you could make your own
<Vincenz> fst (a, b, c) = a
<srv> well I use triplets :)
<Vincenz> first (a, b, c) =a
<Vincenz> second (a, b, c) =b
<Vincenz> third (a, b, c) = c
<Vincenz> first (a, _, _) =a
<Vincenz> second (_, b, _) =b
<Vincenz> third (_, _, c) = c
<srv> for now I've only heard of fst and snd
<Vincenz> well make your own :)
<srv> :)
<Vincenz> the stuff I just wrote above
<Vincenz> those ARE the functions
<Vincenz> just add a let at the beginning
<srv> ah oki doki
<Vincenz> let first (a, _, _) = a
<Vincenz> :
<Vincenz> :P
<srv> yep I know..
buggs is now known as robbins
robbins has quit ["batsman and robbins defenders of the universe"]
robbins has joined #ocaml
robbins is now known as buggs
systems has quit [Connection timed out]
srv has quit ["Bye"]
Xcalibor has joined #ocaml
<Xcalibor> hi
<Vincenz> hi
jdrake has joined #ocaml
polin8 has joined #ocaml
mrvn_ has joined #ocaml
* Vincenz wonders if it's possible to hotswap code with Ocaml
jdrake has quit ["Snak 4.9.8 IRC For Mac - http://www.snak.com"]
jdrake has joined #ocaml
mrvn has quit [Read error: 60 (Operation timed out)]
jdrake has quit [Read error: 104 (Connection reset by peer)]
jdrake has joined #ocaml
jdrake has quit [Read error: 104 (Connection reset by peer)]
jdrake has joined #ocaml
<Vincenz> ?
<bk_> Gc.set { (Gc.get()) with Gc.max_overhead = 400 }
jdrake has left #ocaml []
<bk_> is this only cosmetics or does it anctually do something that is absolutely required ?
<karryall> bk_: it determines how often the GC does heap compaction
<bk_> do i really need to worry about this ?
<Vincenz> is it possible to hotswap code?
<karryall> bk_: no, there's a sensible default value
<bk_> okay, thanks
vect has joined #ocaml
foxster has quit [Client Quit]
bk_ has quit ["Terminated with extreme prejudice - dircproxy 1.0.5"]
bk_ has joined #ocaml