_fab has quit [Read error: 110 (Connection timed out)]
cjohnson has quit [Read error: 110 (Connection timed out)]
cjohnson has joined #ocaml
cjohnson has quit [Remote closed the connection]
b00t has joined #ocaml
Aradorn has joined #ocaml
<Aradorn>
hey
bk_ has quit ["Leaving IRC - dircproxy 1.1.0"]
Aradorn has quit [Client Quit]
Sonarman has quit [Read error: 110 (Connection timed out)]
b00t has quit [Remote closed the connection]
ulfdoz has joined #ocaml
ulfdoz_ has quit [Read error: 145 (Connection timed out)]
<ulfdoz>
re
mlh has quit [Read error: 104 (Connection reset by peer)]
mlh has joined #ocaml
fab_ has quit [Remote closed the connection]
Herrchen has joined #ocaml
_fab has joined #ocaml
_fab has quit [Remote closed the connection]
pango has quit [Remote closed the connection]
Submarine has quit ["Leaving"]
<araujo>
if i do this and it works, means i got the Graphics library? araujo@dC9F335CF Ocaml $ ocamlmktop -custom -o mytoplevel graphics.cma -cclib -lX11
<araujo>
Also, other question, ocaml comes by default with tk for graphics?
<araujo>
ive heard there is a gtk option, does it have the same API than the default library?
mlh has quit [Client Quit]
vodka-goo has joined #ocaml
smimou has joined #ocaml
mrvn has joined #ocaml
vodka-goo has quit []
vodka-goo has joined #ocaml
mrvn_ has quit [Read error: 145 (Connection timed out)]
oracle1_ has quit [Read error: 110 (Connection timed out)]
Gueben has joined #ocaml
vodka-goo has quit []
vodka-goo has joined #ocaml
Tachyon76 has joined #ocaml
Tachyon76 has quit ["Leaving"]
<vincenz>
mflux: what does the syntax hello -> resize (100,30) signify?
slashvar[lri] has joined #ocaml
<slashvar[lri]>
Hi there
vezenchio has joined #ocaml
<vincenz>
hello
_JusSx_ has joined #ocaml
shawn_ has quit ["Leaving"]
shawn_ has joined #ocaml
b00t has joined #ocaml
_shawn has joined #ocaml
b00t has quit [Read error: 145 (Connection timed out)]
b00t has joined #ocaml
shawn_ has quit [Read error: 110 (Connection timed out)]
b00t has quit [Remote closed the connection]
bk_ has joined #ocaml
<mflux>
vincenz, calling a method
__DL__ has joined #ocaml
Alain__ has joined #ocaml
Alain__ has quit ["Leaving"]
vodka-goo has quit []
<vincenz>
isn't that #
Submarine has joined #ocaml
<Smerdyakov>
vincenz, what's thelarger context? Looks like a pattern matching clause.
<vincenz>
previously mentioend text from mflux
<vincenz>
he was talking about swig bindings
<vincenz>
I agree it looks like pattern matching but he used it in a statement
<Smerdyakov>
I think it was a wish-list kind of thing that probably isn't implementable in real OCaml.
<vincenz>
no I think it was a realistic swig binding he had made... However -> can just be replaced by # so I wondered about the used syntax
<Smerdyakov>
As in, he was using C++ syntax because it's interfacing with C++ code.
<vincenz>
ah, alright
<mflux>
no, actually swig has its own syntax extensions too
TeXitoi has quit [Read error: 104 (Connection reset by peer)]
<vincenz>
ah, I see
<Smerdyakov>
mflux, using p4?
<mflux>
yes
TeXitoi has joined #ocaml
bk_ has quit ["Leaving IRC - dircproxy 1.1.0"]
bk_ has joined #ocaml
TeXitoi has quit [Read error: 131 (Connection reset by peer)]
TeXitoi has joined #ocaml
Snark has joined #ocaml
pango has joined #ocaml
TeXitoi has quit [Read error: 131 (Connection reset by peer)]
TeXitoi has joined #ocaml
Msandin has joined #ocaml
TeXitoi_ has joined #ocaml
TeXitoi has quit [Read error: 110 (Connection timed out)]
osdever666 has joined #ocaml
christos has joined #ocaml
osdever666 is now known as none
none is now known as nonenone
Herrchen has quit ["bye"]
<Snark>
good night
Snark has left #ocaml []
nonenone has left #ocaml []
Msandin has quit [Read error: 131 (Connection reset by peer)]
Gueben has quit ["plouf"]
Submarine has quit ["Leaving"]
_JusSx_ has quit ["leaving"]
vodka-goo has joined #ocaml
__DL__ has quit [Remote closed the connection]
Axioplase has joined #ocaml
<Axioplase>
Hi!
<araujo>
Hello.
<Axioplase>
I haven't written caml for ages... I have a syntax error trying to genereate a random polynom... http://nopaste.snit.ch:8002/2636 could someone help me (5 or 6 lines of code)?
<araujo>
Axioplase: times to answer a question? :-)
<Smerdyakov>
The only 'let's that you don't end with 'in' are those at the top level of a file.
<araujo>
07:44 < araujo> if i do this and it works, means i got the Graphics library? araujo@dC9F335CF Ocaml $ ocamlmktop -custom -o
<araujo>
mytoplevel graphics.cma -cclib -lX11
<araujo>
08:01 < araujo> Also, other question, ocaml comes by default with tk for graphics?
<araujo>
08:02 < araujo> ive heard there is a gtk option, does it have the same API than the default library?
<Smerdyakov>
And you will need a double semicolon to separate one of these top-level lets and an expression you want to evaluate.
<Smerdyakov>
You basically never need double semicolons anywhere else.
<Smerdyakov>
(And you can always split projects into files so that you never need any double semicolons.)
<Smerdyakov>
Also, using 'for' is a major demerit. Real functional programmers would never use that garbage.
mlh has joined #ocaml
<Axioplase>
Smerdyakov: err. are you talking to me? :/
<Smerdyakov>
Yes.
<Smerdyakov>
Everything I've just said has been meant for you.
<araujo>
nobody knows about mine?
<Smerdyakov>
araujo, can't say I do, though I bet I could look it up in the docs, just like you can.
<Axioplase>
Smerdyakov: k. I thought that the let would "stay" because of that imperative way to code the function.