eugos changed the topic of #ocaml to: http://pleac.sourceforge.net/ Look at ocaml, it has only 7.86%
mpc has joined #ocaml
Tyler has joined #ocaml
<Tyler> I just started looking at the lablgtk2 tutorial at http://compiler.kaist.ac.kr/~shoh/ocaml/lablgtk2/lablgtk2-tutorial
<Tyler> I just tried to compile the first example
<Tyler> doesn't seem to want to build
<Tyler> heres what I get
<Tyler> tyler@phoenix:~/src/ocaml$ ocamlc -I +lablgtk2 -o base lablgtk.cma gtkInit.cmo base.ml
<Tyler> File "base.ml", line 4, characters 15-29:
<Tyler> Unbound value GWindow.window
<Tyler> I've got the debian lablgtk2 package installed
<Tyler> any ideas?
<beschmi> does "lablgtk2 base.ml" work?
<Tyler> nope
<Tyler> Cannot find file lablgl.cma.
<Tyler> although debian thinks lablgl *is* installed
<Tyler> I've even got a 'lablgl' executable
<beschmi> seems like a different problem
Tyler has quit ["Leaving"]
bk_ has quit ["Leaving IRC - dircproxy 1.1.0"]
mpc has quit []
srv has quit [Read error: 104 (Connection reset by peer)]
monochrom has joined #ocaml
kinners has joined #ocaml
srv has joined #ocaml
vincenz has quit ["leaving"]
mlh has joined #ocaml
mrsolo_ has quit [Read error: 104 (Connection reset by peer)]
mrsolo_ has joined #ocaml
mrsolo_ has quit [Client Quit]
mrsolo_ has joined #ocaml
kinners has quit [Read error: 110 (Connection timed out)]
vincenz has joined #ocaml
mpc has joined #ocaml
mpc has quit [Client Quit]
beschmi has left #ocaml []
kinners has joined #ocaml
duality has joined #ocaml
monochrom has quit [Read error: 110 (Connection timed out)]
cjohnson has quit [Read error: 104 (Connection reset by peer)]
duality has quit ["Don't talk to those who talk to themselves."]
Herrchen has joined #ocaml
kinners has quit [Read error: 110 (Connection timed out)]
GreyLensman has quit ["I'll miss my AC."]
alex-i has joined #ocaml
<alex-i> Where could I find more about OCaml's usage in system administration?
alex-i has quit ["Sleep"]
TheDracle has joined #ocaml
<TheDracle> Hm, since "let tst 0 = true" is not exhaustive, how do you make it exhaustive?
<TheDracle> Like, I can say let tst (0 | _) = true.
<TheDracle> But what if I wanted _ to be false?
<TheDracle> Do I have to use match?
<Excedrin> let tst 0 = true | _ = false
<TheDracle> Ah. Okay :p
<TheDracle> Hm, I get a syntax error when I try that.
<Excedrin> sorry, sml...
<TheDracle> Oh.
<TheDracle> Yeah, I'd tried that, it seemed to make sense to me.
<TheDracle> So, maybe you can't do such a thing in Ocaml?
<Excedrin> let tst a = match a with 0 -> true | _ -> false;;
<Excedrin> I guess you knew that though
<TheDracle> Yeah.
<TheDracle> I kinda like the syntax without using match though.
<TheDracle> It's very interesting.
<mflux> well there's let tst = function 0 -> true | _ -> false;;
<mflux> but I suppose that's not much better ;)
<TheDracle> Hm.
<TheDracle> It is a bit :)
<mflux> atleast it removes naming the parameter
<TheDracle> So, why does both function and fun exist?
<TheDracle> They seem a bit ambiguous, although function doesn't allow multiple paramaters.
<mflux> no idea
<mflux> useful syntax candy?-)
<TheDracle> Yeah.. I hate syntax candy :P Ocaml is mostly free of that.
<TheDracle> It has semantics candy :)
<Excedrin> check out camlp4, I'm sure you can make it how ever you like
<TheDracle> O.o
TheDracle has quit [Remote closed the connection]
kinners has joined #ocaml
Herrchen has quit ["bye"]
Herrchen has joined #ocaml
buggs^z has joined #ocaml
_fab has joined #ocaml
buggs has quit [Nick collision from services.]
buggs^z is now known as buggs
mlh has quit [Client Quit]
kinners has quit ["leaving"]
mlh has joined #ocaml
srv_ has joined #ocaml
srv has quit [Read error: 232 (Connection reset by peer)]
karryall has quit ["tcho"]
cjohnson has joined #ocaml
mlh has quit ["Leaving"]
bk_ has joined #ocaml
buggs has quit [Read error: 242 (No route to host)]
mpc has joined #ocaml
beschmi has joined #ocaml
Herrchen has quit ["brb"]
Herrchen has joined #ocaml
CosmicRay has joined #ocaml
palomer has joined #ocaml
mpc has quit []
mpc has joined #ocaml
pango has quit [Nick collision from services.]
pango has joined #ocaml
CosmicRay has quit [Remote closed the connection]
Banana_ has joined #ocaml
GreyLensman has joined #ocaml
Banana has quit [Read error: 110 (Connection timed out)]
eugos has joined #ocaml
GreyLensman has quit [Read error: 104 (Connection reset by peer)]
GreyLensman has joined #ocaml
mpc has quit []
eugos has quit ["Leaving"]
mpc has joined #ocaml
mpc has quit []
mpc has joined #ocaml
Herrchen has quit ["leaving"]
mpc has quit []
GreyLensman has quit ["Leaving"]
cjohnson has quit [Success]
cjohnson has joined #ocaml
mpc has joined #ocaml
buggs has joined #ocaml
monochrom has joined #ocaml
mpc has quit []
srv has joined #ocaml
srv_ has quit [Read error: 232 (Connection reset by peer)]
mpc has joined #ocaml
mpc has quit [Client Quit]
mpc has joined #ocaml
malte has quit [Remote closed the connection]