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
tmilford has joined #ocaml
tmilford_ has joined #ocaml
tmilford has quit [Read error: 54 (Connection reset by peer)]
mattam_ has joined #ocaml
docelic is now known as docelic|sleepo
hitachi has joined #ocaml
mattam_ has quit ["zZz"]
mattam has quit [Read error: 110 (Connection timed out)]
<hitachi> anyone here used opengl with ocalm
<hitachi> errr ocaml
hitachi has quit [sterling.freenode.net irc.freenode.net]
Kinners has quit [sterling.freenode.net irc.freenode.net]
polin8 has quit [sterling.freenode.net irc.freenode.net]
hitachi has joined #ocaml
Kinners has joined #ocaml
polin8 has joined #ocaml
* hitachi pokes the room "Hello?"
<Kinners> hello
<hitachi> ^_^ hi I am new to this language, seem very appealing to me but I wanna lean toward graphics programming and was wondering if anyone used the opengl lib, or know of any other graphics libs
<hitachi> wow thanks!!!!
tmilford_ has quit ["I quit"]
lament has joined #ocaml
Kinners has quit [Read error: 104 (Connection reset by peer)]
<hitachi> errr for it statements its just "if" or is it expr::=if ?
<mellum> huh?
<hitachi> nvm I was geting confuse witht he docs ^_^
<hitachi> didn't know how to use the if statement
<mellum> I don't think there are statements in Ocaml. Everything is just an expression.
lament has quit ["Support Darwin Awards! Join the military!"]
mrvn has joined #ocaml
<hitachi> to end a if express I just add ;; to the else? would I need to add it to an else if and if expression is added into it?
<mellum> I don't quite understand... ;; only ends top level declarations. And there it's even redundant.
<mellum> You only need it for the command line.
<mellum> The end of an if statement is the end of the expression inside the else clause.
<mellum> Maybe you want ';' which is used to separate expressions which are there only for their side effects, not their value.
<hitachi> http://www.rafb.net/paste/results/B1605746.html <-- so when I am done with the if expression I just do else () once even if there are more if expressions inside
mrvn_ has quit [Read error: 110 (Connection timed out)]
mrvn has quit [Read error: 104 (Connection reset by peer)]
<mellum> hitachi: Uh, is it possible you have used C before? :)
mrvn_ has joined #ocaml
<mellum> hitachi: first, the "let" is missing an "in".
<hitachi> I am more of a c user and python
<mellum> then, the "if"s are all missing a "then", while the parens around the condition are redundant.
<mellum> also, the comparison operator is '=' and not '=='.
<mellum> And there's no "return", it would be pointless since there is no distinction between statements and expressions.
<mellum> if-then-else is more equivalent to foo?bar:baz in that respect.
<hitachi> how would I return a value then?
<mellum> hitachi: for example, let f x = if x = 0 then 5 else 3
<hitachi> you dont need to end an else with () ?
<mellum> No.
<hitachi> wow thats wierd..... so it just knows when the expression stops?
<mellum> Yes. It knows because the next token is a "let" again, or because the file ends.
<mellum> Only on the command line, you'd need a ';;'.
<hitachi> ahhh thanks for clearing that up...thats soooo cool! man ^_^ none of the redunent little ; and { everywhere!
<hitachi> so then a struct would be more like a class right...
<mellum> Uhm, not sure what you mean...
<hitachi> struct retval { blah }
<hitachi> then reference it to retval & ret ....
<mellum> I still don't understand
<hitachi> heh um.... is there other ways to create objects w/o classes
<mellum> I've never really used the object oriented stuff... I usually just use functions that take a record and return a new one
<hitachi> hm... heh ^_^ i kinda like oop, i am just getting over excited cuase I never used a language like this before...
<hitachi> well besides python but this is like super faster then it heh
hitachi has quit ["Client exiting"]
lament has joined #ocaml
mattam has joined #ocaml
GabeWSD has joined #ocaml
GabeWSD has quit ["Lost terminal"]
Riastradh has quit [Connection timed out]
lament has quit ["Support Darwin Awards! Join the military!"]
baader has joined #ocaml
pattern_ has quit [Read error: 60 (Operation timed out)]
TachYon26 has joined #ocaml
foxster has quit [Read error: 104 (Connection reset by peer)]
docelic|sleepo is now known as docelic|away
systems has joined #ocaml
gene9 has joined #ocaml
asqui has quit [Read error: 110 (Connection timed out)]
mattam_ has joined #ocaml
Zadeh has joined #ocaml
asqui has joined #ocaml
mattam has quit [Read error: 110 (Connection timed out)]
mrvn_ has quit ["Lost terminal"]
mrvn_ has joined #ocaml
pattern_ has joined #ocaml
systems has quit [Connection timed out]
baader has quit ["I'll be back"]
mrvn_ has quit ["Lost terminal"]
docelic|away is now known as docelic
gene9 has quit [Read error: 104 (Connection reset by peer)]
docelic is now known as docelic|away
Zadeh has quit [Read error: 104 (Connection reset by peer)]
A_Young has joined #ocaml
<A_Young> can anyone help me figure out something with compiling mldonkey? or is compiling off-topic?
foxster has joined #ocaml
A_Young has left #ocaml []
TachYon26 has quit [Read error: 54 (Connection reset by peer)]
foxster has quit [Read error: 104 (Connection reset by peer)]
Smerdyakov has quit [sterling.freenode.net irc.freenode.net]
vegai has quit [sterling.freenode.net irc.freenode.net]
seth_ has quit [sterling.freenode.net irc.freenode.net]
smkl has quit [sterling.freenode.net irc.freenode.net]
lam has quit [sterling.freenode.net irc.freenode.net]
Smerdyakov has joined #ocaml
lam has joined #ocaml
vegai has joined #ocaml
smkl has joined #ocaml
seth_ has joined #ocaml
lus|wazze has joined #ocaml
Wazzamar has joined #ocaml
foxster has joined #ocaml
Vincenz has joined #ocaml
Wazzamar has left #ocaml []
lus|wazze has quit ["*liephab* <3 <3 <3"]
lus|wazze has joined #ocaml
lus|wazze has quit [Client Quit]
lus|wazze has joined #ocaml
bopbone has joined #ocaml
Smerdyakov has quit [sterling.freenode.net irc.freenode.net]
vegai has quit [sterling.freenode.net irc.freenode.net]
seth_ has quit [sterling.freenode.net irc.freenode.net]
smkl has quit [sterling.freenode.net irc.freenode.net]
lam has quit [sterling.freenode.net irc.freenode.net]
pattern_ has quit [sterling.freenode.net irc.freenode.net]
polin8 has quit [sterling.freenode.net irc.freenode.net]
asqui has quit [sterling.freenode.net irc.freenode.net]
mattam_ has quit [sterling.freenode.net irc.freenode.net]
rox has quit [sterling.freenode.net irc.freenode.net]
cm has quit [sterling.freenode.net irc.freenode.net]
gl has quit [sterling.freenode.net irc.freenode.net]
skylan has quit [sterling.freenode.net irc.freenode.net]
liyang has quit [sterling.freenode.net irc.freenode.net]
karryall has quit [sterling.freenode.net irc.freenode.net]
lus|wazze has quit [sterling.freenode.net irc.freenode.net]
Vincenz has quit [sterling.freenode.net irc.freenode.net]
foxster has quit [sterling.freenode.net irc.freenode.net]
lus|wazze has joined #ocaml
Vincenz has joined #ocaml
foxster has joined #ocaml
seth_ has joined #ocaml
smkl has joined #ocaml
vegai has joined #ocaml
lam has joined #ocaml
Smerdyakov has joined #ocaml
pattern_ has joined #ocaml
polin8 has joined #ocaml
karryall has joined #ocaml
liyang has joined #ocaml
asqui has joined #ocaml
mattam_ has joined #ocaml
skylan has joined #ocaml
gl has joined #ocaml
cm has joined #ocaml
rox has joined #ocaml
asqui has quit [Excess Flood]
asquii has joined #ocaml
asquii is now known as asqui
bopbone has left #ocaml []
mattam_ has quit [sterling.freenode.net irc.freenode.net]
rox has quit [sterling.freenode.net irc.freenode.net]
cm has quit [sterling.freenode.net irc.freenode.net]
gl has quit [sterling.freenode.net irc.freenode.net]
skylan has quit [sterling.freenode.net irc.freenode.net]
Smerdyakov has quit [sterling.freenode.net irc.freenode.net]
vegai has quit [sterling.freenode.net irc.freenode.net]
seth_ has quit [sterling.freenode.net irc.freenode.net]
lam has quit [sterling.freenode.net irc.freenode.net]
smkl has quit [sterling.freenode.net irc.freenode.net]
pattern_ has quit [sterling.freenode.net irc.freenode.net]
polin8 has quit [sterling.freenode.net irc.freenode.net]
liyang has quit [sterling.freenode.net irc.freenode.net]
karryall has quit [sterling.freenode.net irc.freenode.net]
lus|wazze has quit [sterling.freenode.net irc.freenode.net]
Vincenz has quit [sterling.freenode.net irc.freenode.net]
foxster has quit [sterling.freenode.net irc.freenode.net]
lus|wazze has joined #ocaml
Vincenz has joined #ocaml
foxster has joined #ocaml
seth_ has joined #ocaml
smkl has joined #ocaml
vegai has joined #ocaml
lam has joined #ocaml
Smerdyakov has joined #ocaml
pattern_ has joined #ocaml
polin8 has joined #ocaml
karryall has joined #ocaml
liyang has joined #ocaml
asqui has quit [Excess Flood]
mattam_ has joined #ocaml
skylan has joined #ocaml
gl has joined #ocaml
cm has joined #ocaml
rox has joined #ocaml
asquii has joined #ocaml
asquii is now known as asqui
systems has joined #ocaml
systems has left #ocaml []
malc has joined #ocaml
lament has joined #ocaml
hitachi has joined #ocaml
<hitachi> how do I install addition libs for ocaml?
malc has quit [Read error: 110 (Connection timed out)]