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