Yurik 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
lament has quit [Remote closed the connection]
lament has joined #ocaml
mattam has quit ["zzzZZZZZZzzzzzz"]
graydon has quit [Read error: 110 (Connection timed out)]
graydon has joined #ocaml
lament has quit ["mental mantle"]
docelic has joined #ocaml
graydon has quit ["xchat exiting.."]
docelic has quit ["Client Exiting"]
mattam has joined #ocaml
mrvn has joined #ocaml
mrvn_ has quit [Read error: 110 (Connection timed out)]
lament has joined #ocaml
karryall has quit [Read error: 110 (Connection timed out)]
graydon has joined #ocaml
lament has quit ["mental mantle"]
docelic has joined #ocaml
aps has quit [forward.freenode.net irc.freenode.net]
aps has joined #ocaml
docelic has quit ["Client Exiting"]
aps has quit [forward.freenode.net irc.freenode.net]
graydon has quit [forward.freenode.net irc.freenode.net]
mattam has quit [forward.freenode.net irc.freenode.net]
mellum has quit [forward.freenode.net irc.freenode.net]
smoke has quit [forward.freenode.net irc.freenode.net]
whee has quit [forward.freenode.net irc.freenode.net]
xtrm has quit [forward.freenode.net irc.freenode.net]
smkl has quit [forward.freenode.net irc.freenode.net]
gl has quit [forward.freenode.net irc.freenode.net]
Segora has quit [forward.freenode.net irc.freenode.net]
lam has quit [forward.freenode.net irc.freenode.net]
skylan has quit [forward.freenode.net irc.freenode.net]
aps has joined #ocaml
graydon has joined #ocaml
mattam has joined #ocaml
mellum has joined #ocaml
smkl has joined #ocaml
gl has joined #ocaml
smoke has joined #ocaml
lam has joined #ocaml
skylan has joined #ocaml
xtrm has joined #ocaml
whee has joined #ocaml
Segora has joined #ocaml
aps has quit [forward.freenode.net irc.freenode.net]
mellum has quit [forward.freenode.net irc.freenode.net]
mattam has quit [forward.freenode.net irc.freenode.net]
graydon has quit [forward.freenode.net irc.freenode.net]
smoke has quit [forward.freenode.net irc.freenode.net]
xtrm has quit [forward.freenode.net irc.freenode.net]
whee has quit [forward.freenode.net irc.freenode.net]
lam has quit [forward.freenode.net irc.freenode.net]
gl has quit [forward.freenode.net irc.freenode.net]
Segora has quit [forward.freenode.net irc.freenode.net]
smkl has quit [forward.freenode.net irc.freenode.net]
skylan has quit [forward.freenode.net irc.freenode.net]
aps has joined #ocaml
graydon has joined #ocaml
mattam has joined #ocaml
mellum has joined #ocaml
smkl has joined #ocaml
gl has joined #ocaml
smoke has joined #ocaml
lam has joined #ocaml
skylan has joined #ocaml
xtrm has joined #ocaml
whee has joined #ocaml
Segora has joined #ocaml
nkoza has joined #ocaml
lament has joined #ocaml
lam has quit [Read error: 104 (Connection reset by peer)]
mattam_ has joined #ocaml
mattam has quit [Read error: 60 (Operation timed out)]
lam_ has joined #ocaml
malc has joined #ocaml
malc has quit [Remote closed the connection]
smklsmkl has joined #ocaml
smkl has quit [Read error: 110 (Connection timed out)]
graydon has quit [Read error: 60 (Operation timed out)]
docelic has joined #ocaml
RichiH has joined #ocaml
graydon has joined #ocaml
docelic has quit ["Client Exiting"]
<RichiH> lo
<RichiH> when i do
<RichiH> type hufftree = Atom of (char * int) | Node of (hufftree * hufftree);;
<RichiH> let rec generate_hufftree arg = match arg with
<RichiH> |[] -> []
<RichiH> |hd::[] -> [hd]
<RichiH> |hd1::hd2::tail -> Node(hd1,hd2)::(generate_hufftree tail);;
<RichiH> generate_hufftree ((('a',5);('b',7));'c',8);;
<RichiH> it complains that "This expression has type char * int but is here used with type hufftree list"
<RichiH> with the ^^^^^ under 'c',8
<RichiH> how would i write my argument so that it is accepted?
<RichiH> and yes, i am really embarassed :/
* RichiH looks pleadingly at mrvn
graydon has quit [Read error: 110 (Connection timed out)]
zack has joined #ocaml
malc has joined #ocaml
mellum has quit [Read error: 60 (Operation timed out)]
lament has quit ["mental mantle"]
mellum has joined #ocaml
malc has quit [Read error: 110 (Connection timed out)]
RichiH has quit ["naga naga nagaga"]