m3ga has joined #ocaml
m3ga has left #ocaml []
Nutssh has quit [Success]
JPL-Justin_ has joined #ocaml
cjohnson has quit [Read error: 104 (Connection reset by peer)]
Nutssh has joined #ocaml
CosmicRay has joined #ocaml
cjohnson has joined #ocaml
JPL-Justin_ has quit [Read error: 110 (Connection timed out)]
cjohnson has quit [Read error: 104 (Connection reset by peer)]
cjohnson has joined #ocaml
Nutssh has quit [Read error: 104 (Connection reset by peer)]
CosmicRay has quit ["Leaving"]
Nutssh has joined #ocaml
Nutssh has left #ocaml []
Robert has quit ["Men vägen, är den mödan värd?"]
tewk has joined #ocaml
<
tewk>
Is there a call path trace tool I can use with ocaml ?
<
tewk>
Something that shows program flow ?
* Smerdyakov
faints.
cjohnson has quit [Read error: 104 (Connection reset by peer)]
avlondono has joined #ocaml
cjohnson has joined #ocaml
GreyLensman has quit ["Leaving"]
fab_ has joined #ocaml
_fab has quit [Read error: 238 (Connection timed out)]
cjohnson has quit [Read error: 232 (Connection reset by peer)]
cjohnson has joined #ocaml
cjohnson has quit [Connection reset by peer]
cjohnson has joined #ocaml
cjohnson has quit [Read error: 104 (Connection reset by peer)]
cjohnson has joined #ocaml
cjohnson has quit [Read error: 54 (Connection reset by peer)]
cjohnson has joined #ocaml
cjohnson has quit ["Leaving"]
monochrom has quit ["Don't talk to those who talk to themselves."]
Nutssh has joined #ocaml
Anvil_Vapre has quit [Client Quit]
fab_ has quit [Remote closed the connection]
Nutssh has left #ocaml []
bnoah has joined #ocaml
_fab has joined #ocaml
pango_ has quit ["Client exiting"]
ctr- has joined #ocaml
tewk__ has quit [Remote closed the connection]
kinners has joined #ocaml
<
ctr->
how can I do an equality test between a string ?
<
vincenz>
a == b will test for pointer equivalence, not content-equivalence
<
vincenz>
and usually it's suggested that everyone use =
<
ctr->
ok thanks :)
mlh has quit [Client Quit]
Herrchen has joined #ocaml
mlh has joined #ocaml
eugos has joined #ocaml
mlh has quit [Client Quit]
kinners has quit ["leaving"]
bnoah has quit ["brb, trying out that ALT+F2+F3..."]
docelic has quit [Remote closed the connection]
docelic has joined #ocaml
ctr- has quit [Read error: 110 (Connection timed out)]
Herrle has joined #ocaml
Herrle has quit [Client Quit]
Herrchen has quit ["brb"]
Herrchen has joined #ocaml
luciver has joined #ocaml
Robert has joined #ocaml
tea has joined #ocaml
rhw has joined #ocaml
rhaaw has joined #ocaml
rhw has quit [Connection timed out]
rhaaw has quit [Connection timed out]
kinners has joined #ocaml
rhw has joined #ocaml
mlh has joined #ocaml
vezenchio has quit ["If god didn't believe athiests existed, you would not exist. However you exist, so there must be no god"]
cjohnson has joined #ocaml
rhw has quit [No route to host]
kinners has quit ["leaving"]
daapp has joined #ocaml
daapp has left #ocaml []
luciver has left #ocaml []
<
dozer>
I'm using the windows OCamlWinPlus v1.9RC4 interpreteer
<
dozer>
# open Graphics;;
<
dozer>
# open_graph "640x480";;
<
dozer>
Reference to undefined global `Graphics'
<
Smerdyakov>
Try: #load "graphics.cma";;
<
Smerdyakov>
The # is part of the command, not the prompt.
<
dozer>
ah, thanks - open_graph ...... returned - : unit = () this time rather than barfing
<
Smerdyakov>
I'm sorry I said that. It's mentioned on the first page of the manual for the Graphics library. :P
<
dozer>
thanks - drawn circles and some fractal thingy - must be working
_fab has joined #ocaml
ctr- has joined #ocaml
<
ctr->
let x = ref SomeType in
<
ctr->
let y = ref SomeType in
<
ctr->
how can I assign the value in y to x ?
mlh has quit [Client Quit]
<
eugos>
ctr, x := !y
<
mellum>
actually, you can't, since "ref SomeType" is a syntax error
cjohnson has quit [Read error: 104 (Connection reset by peer)]
cjohnson has joined #ocaml
<
eugos>
mellum, I think he meant "ValueOfSomeType" ;)
<
Smerdyakov>
I think he meant (failwith "Hi!")
cjohnson has quit [sendak.freenode.net irc.freenode.net]
cjohnson has joined #ocaml
<
eugos>
Smerdyakov, :)
<
ctr->
another quick question
<
ctr->
how can i do
<
ctr->
if (somevar doesn't equal "hello" )
<
Smerdyakov>
<> is the not-equal operator.
<
Smerdyakov>
You can also use the generic boolean operator 'not'.
cjohnson has quit [Read error: 54 (Connection reset by peer)]
cjohnson has joined #ocaml
karryall has joined #ocaml
eternite has joined #ocaml
<
eternite>
Hello evrybody!
<
eugos>
eternite, hello, we are glad to see you again
<
ctr->
how can I exit out of an iteration loop ?
<
eugos>
ctr, raising an exception
<
eternite>
"raise Exit" and a "try with" construction
eugos has left #ocaml []
pango has joined #ocaml
rhw has joined #ocaml
maihem has joined #ocaml
pango has quit [Nick collision from services.]
pango_ has joined #ocaml
Oejet_ has joined #ocaml
Oejet_ has left #ocaml []
jason__ has joined #ocaml
mrsolo_ has quit [Read error: 104 (Connection reset by peer)]
<
jason__>
Hm, does camlp4 come with the main ocaml distro or do you need to download it separately? If so, where from?
<
karryall>
jason__: it's in the distro
<
jason__>
It didn't install with mine for some reason.
<
jason__>
At least, I can't find it in my install path.
<
jason__>
I have ocamlc, ocaml, ocamlopt, etc..
<
karryall>
... unless you're using an ocaml release from 2 years ago
<
jason__>
Hm, no, 3.08.1
CosmicRay has joined #ocaml
<
jason__>
It may be an older version of Ocaml's camlp4 blocking this one, or something, I'll investigate it further.
<
jason__>
Thanks for your help.
rhaaw has joined #ocaml
rhw has quit [Connection timed out]
lmbdwr has joined #ocaml
vincenz has quit [Read error: 238 (Connection timed out)]
vincenz has joined #ocaml
Lemmih_ has joined #ocaml
lmbdwr has quit [sendak.freenode.net irc.freenode.net]
Robert has quit [sendak.freenode.net irc.freenode.net]
docelic has quit [sendak.freenode.net irc.freenode.net]
Robert has joined #ocaml
lmbdwr has joined #ocaml
docelic has joined #ocaml
Axioplase has joined #ocaml
<
Axioplase>
Chat Lu!
eugos has joined #ocaml
gpciceri has joined #ocaml
buggs has quit [Connection timed out]
Robert has quit ["kthxbai from the non-thinker."]
buggs|afk has joined #ocaml
gpciceri has left #ocaml []
buggs|afk is now known as buggs
Herrchen has quit ["bye"]
eugos has quit ["Leaving"]
Robert has joined #ocaml
Axioplase has quit ["error 8.6 (Connection reset by beer)"]
CosmicRay has quit ["Client exiting"]
eternite has left #ocaml []
gld has joined #ocaml
mlh has joined #ocaml
maihem has quit ["Read error: 54 (Connection reset by chocolate)"]
CosmicRay has joined #ocaml
rhaaw has left #ocaml []