sporkmonger has quit [Remote closed the connection]
sporkmonger has joined #ocaml
sporkmonger has quit [Remote closed the connection]
hkBst has quit [Read error: 104 (Connection reset by peer)]
verte has joined #ocaml
Smerdyakov has quit ["Leaving"]
travisbrady has joined #ocaml
travisbrady has quit [Client Quit]
willb has joined #ocaml
willb1 has joined #ocaml
willb1 has quit [Read error: 104 (Connection reset by peer)]
mpwd has quit []
mpwd has joined #ocaml
mpwd has quit [Client Quit]
mpwd has joined #ocaml
ergodick has left #ocaml []
Associat0r has quit []
mpwd has quit []
mpwd has joined #ocaml
mpwd has quit []
travisbrady has joined #ocaml
mpwd has joined #ocaml
aklt has joined #ocaml
verte has quit ["~~~ Crash in JIT!"]
mpwd has quit []
tvn2009 has joined #ocaml
<tvn2009>
I have this file call t.ml contains these 3 lines line1: let t1 = printf "something" line2: let main() = printf "hi" ;; line3: main();; . I then compile it ocamlopt t.ml and run the output, it prints "somethinghi"
<tvn2009>
why does it print something when I didn't call it ?
travisbrady has quit []
mpwd has joined #ocaml
tvn2009 has quit ["ChatZilla 0.9.85 [Firefox-3.5 3.5.1pre/20090713164256]"]
rwmjones_ has quit [Read error: 113 (No route to host)]
verte has joined #ocaml
komar_ has joined #ocaml
mpwd has quit []
Submarine has joined #ocaml
mpwd has joined #ocaml
Associat0r has joined #ocaml
ulfdoz has joined #ocaml
<schme>
Has anyone read the Tim Rentsch book?
rwmjones_ has joined #ocaml
sbok has quit [Remote closed the connection]
sbok has joined #ocaml
hkBst has joined #ocaml
LeCamarade|Away is now known as LeCamarade
aklt has quit ["leaving"]
Narrenschiff has joined #ocaml
jmou has joined #ocaml
julm has quit [Nick collision from services.]
jmou is now known as julm
s4tan_ has joined #ocaml
<s4tan_>
hi guys, in order to use the ocamldoc utility am i forced to set all source files dependencies?
TR2N has joined #ocaml
TR2N has quit [Nick collision from services.]
TR2N has joined #ocaml
X-Scale has quit [Nick collision from services.]
TR2N is now known as X-Scale
BiDOrD has quit [Read error: 110 (Connection timed out)]
Spiwack has joined #ocaml
|Jedai| has joined #ocaml
komar_ has quit [Read error: 60 (Operation timed out)]
<kaustuv>
s4tan_: Not sure what you mean, but since ocamldoc needs the .cmi files, your code must already compile before you can use ocamldoc
Jedai has quit [Read error: 113 (No route to host)]
Amorphous has quit [Read error: 110 (Connection timed out)]
Amorphous has joined #ocaml
_andre has joined #ocaml
|Jedai| has quit [Read error: 104 (Connection reset by peer)]
s4tan_ has left #ocaml []
komar_ has joined #ocaml
ulfdoz has quit [Remote closed the connection]
ulfdoz has joined #ocaml
aldebrn has joined #ocaml
Narrenschiff_ has joined #ocaml
Yoric[DT] has joined #ocaml
Narrenschiff has quit [Nick collision from services.]
Narrenschiff_ is now known as Narrenschiff
BiDOrD has joined #ocaml
Submarine has quit [Read error: 110 (Connection timed out)]
sramsay has joined #ocaml
LeCamarade has quit [""Switching computers""]
Yoric[DT] has quit ["Ex-Chat"]
bombshelter13_ has joined #ocaml
sramsay has quit [Remote closed the connection]
verte has quit ["~~~ Crash in JIT!"]
Submarine has joined #ocaml
angerman has joined #ocaml
willb has quit [Read error: 110 (Connection timed out)]
julm has quit ["Genetic engineering: no thanks!"]
Yoric[DT] has joined #ocaml
_andre has quit ["Lost terminal"]
_andre has joined #ocaml
hoffa has joined #ocaml
<hoffa>
Hello
<hoffa>
When a function foo takes no arguments, do I have to write foo() to call it ?
<hoffa>
let foobar = foo#bar()
<hoffa>
Like that ? Or is it legal to write let foobar = foo#bar ?
<Camarade_Tux>
for objects or more generally?
<hoffa>
Generally
<Camarade_Tux>
generally, if you write [ let f = 3;; ], you actually define a variable, not a function
<Camarade_Tux>
so a function outside of an object has to take at least an argument to be applied later on : [ let f () = 3;; ]
<Camarade_Tux>
but when it's inside an object, defining and calling as foo#bar is enough (since you explicitely told ocaml bar was a method)
<hoffa>
Oh, ok
Narrenschiff has quit [Read error: 60 (Operation timed out)]
<hoffa>
Ok well thanks for that information, got to keep reading now
<hoffa>
Started OCaml today, but I like it, different from C at least
<Camarade_Tux>
it's a very nice language, completely unbiaised thought ;p
willb has joined #ocaml
amuck_ has joined #ocaml
Yoric[DT] has quit ["Ex-Chat"]
Snark has joined #ocaml
amuck_ has quit [Read error: 54 (Connection reset by peer)]
amuck_ has joined #ocaml
travisbrady has joined #ocaml
LeCamarade has joined #ocaml
rwmjones_ has quit [Read error: 110 (Connection timed out)]
Fullma has quit ["Quitte"]
julm has joined #ocaml
sporkmonger has joined #ocaml
jonafan has joined #ocaml
smimou has joined #ocaml
jimmyb2187 has joined #ocaml
<hcarty>
thelema: ping
Spiwack has quit [Remote closed the connection]
rwmjones_ has joined #ocaml
rwmjones_ has quit [Client Quit]
rwmjones_ has joined #ocaml
shazam has joined #ocaml
shazam is now known as palomer
* palomer
is going to paris today
Snark has quit ["Ex-Chat"]
hoffa_ has joined #ocaml
LeCamarade is now known as LeCamarade|Away
travisbrady has quit [Read error: 104 (Connection reset by peer)]
travisbrady has joined #ocaml
Submarine_ has joined #ocaml
Submarine has quit [Read error: 110 (Connection timed out)]
TaXules has quit [hubbard.freenode.net irc.freenode.net]
sgwizdak has quit [hubbard.freenode.net irc.freenode.net]
det has quit [hubbard.freenode.net irc.freenode.net]
aij has quit [hubbard.freenode.net irc.freenode.net]
TaXules has joined #ocaml
aij_ has joined #ocaml
det has joined #ocaml
sgwizdak has joined #ocaml
Associat0r has quit [Read error: 104 (Connection reset by peer)]
sramsay has joined #ocaml
_andre has quit ["Lost terminal"]
sramsay has quit [Remote closed the connection]
sramsay has joined #ocaml
cygnus_ has joined #ocaml
xevz has quit [Read error: 60 (Operation timed out)]
Associat0r has joined #ocaml
xevz has joined #ocaml
Associat0r has quit []
smimram has joined #ocaml
smimou has quit [Read error: 110 (Connection timed out)]
<hoffa_>
exit
<hoffa_>
Never mind my last message
<hoffa_>
(Wrong terminal)
hoffa has quit [Remote closed the connection]
zaemis has joined #ocaml
bombshelter13_ has quit []
slash_ has joined #ocaml
angerman has quit []
palomer has quit [Read error: 110 (Connection timed out)]
ulfdoz has quit [Read error: 110 (Connection timed out)]
Smerdyakov has joined #ocaml
zaemis has quit ["Leaving."]
hkBst has quit [Read error: 104 (Connection reset by peer)]
Submarine_ has quit [Read error: 110 (Connection timed out)]
sramsay has quit ["Leaving"]
<thelema>
hcarty: pong
Smerdyakov has quit ["Leaving"]
willb has quit [Read error: 110 (Connection timed out)]