Slack4020 has quit ["Konversation terminated!"]
buluca has quit ["Sto andando via"]
love-pingoo has quit ["Connection reset by pear"]
smimou has quit ["bli"]
Slack4020 has joined #ocaml
bzzbzz has quit ["leaving"]
ziggurat has joined #ocaml
chessguy has joined #ocaml
chessguy2 has joined #ocaml
dylan has joined #ocaml
dylan has left #ocaml []
chessguy has quit [Nick collision from services.]
chessguy2 is now known as chessguy
pango_ has quit [Remote closed the connection]
pango_ has joined #ocaml
yondalf has joined #ocaml
sponge45 has joined #ocaml
ramkrsna has joined #ocaml
yondalf has quit ["leaving"]
ziggurat has quit ["Leaving"]
Smerdyakov has quit ["Leaving"]
ramkrsna has quit [Read error: 104 (Connection reset by peer)]
ramkrsna has joined #ocaml
Skal has joined #ocaml
falconair has left #ocaml []
jajs has joined #ocaml
pango__ has joined #ocaml
love-pingoo has joined #ocaml
_velco has joined #ocaml
pango_ has quit [Remote closed the connection]
love-pingoo has quit ["Connection reset by pear"]
mattam has quit [Read error: 104 (Connection reset by peer)]
sponge45 has quit ["zzzzzzzz"]
pango__ has quit [Remote closed the connection]
pango has joined #ocaml
slipstream has joined #ocaml
slipstream-- has quit [Read error: 104 (Connection reset by peer)]
love-pingoo has joined #ocaml
velco has joined #ocaml
kral has joined #ocaml
kral has quit [Read error: 131 (Connection reset by peer)]
ramkrsna has quit [Read error: 131 (Connection reset by peer)]
ramkrsna has joined #ocaml
Nayru has joined #ocaml
<
Nayru>
Hi everybody :) Can someone please tell me how to read a file and return it's content as a string?
<
flux__>
that's the one difficultish thing in ocaml :-), atleast when written in functional style
<
love-pingoo>
check these functions in the Pervasive module: open_in and input
<
flux__>
and module Buffer
<
love-pingoo>
using string concatenation is not efficient but OK for a first shot..
<
Nayru>
Okay, thanks - I'll need the first line only, so input_line should fit my needs.
<
Slack4020>
how difficult is it to write a c++ binding for ocaml ?
<
love-pingoo>
very :)
<
Slack4020>
i kinda got the c binding down
<
Slack4020>
grrrrrrrr
<
Slack4020>
Ocaml neeeds a Qt binding
<
love-pingoo>
Slack4020: it's simple to get something working OK, but it's very difficult to get something really bug-free and thread-compliant
<
love-pingoo>
actually, I'm saying that for a C binding, I've no idea how C++ is different (certainly not easier, though)
<
Slack4020>
love-pingoo: grrrrrrrr
klapmuetz has quit [Read error: 60 (Operation timed out)]
<
flux__>
slack4020, check out the bindings generator tool, it might be called swig
<
flux__>
slack4020, realistically I don't think there is another way to write such (completeish) bindings
<
flux__>
IIRC swig has nice c++->ocaml-support
pango has quit [Remote closed the connection]
slipstream has quit [Read error: 104 (Connection reset by peer)]
slipstream has joined #ocaml
TSC has quit [Remote closed the connection]
TSC has joined #ocaml
pango has joined #ocaml
jajs has quit [Read error: 54 (Connection reset by peer)]
Snark has joined #ocaml
ramkrsna has quit [Read error: 131 (Connection reset by peer)]
chris2 has joined #ocaml
malc_ has joined #ocaml
chris2 has quit ["Leaving"]
yondalf has joined #ocaml
mattam has joined #ocaml
Skal has quit [Remote closed the connection]
Skal has joined #ocaml
yondalf has quit ["leaving"]
delamarche has quit []
Smerdyakov has joined #ocaml
ayrnieu has quit [Connection timed out]
Leonidas has joined #ocaml
jajs has joined #ocaml
love-pingoo has quit ["Leaving"]
pauldia has joined #ocaml
chris2 has joined #ocaml
malc__ has joined #ocaml
danly has joined #ocaml
malc_ has quit [Read error: 110 (Connection timed out)]
velco has quit ["Ex-Chat"]
smimou has joined #ocaml
klapmuetz has joined #ocaml
ikaros has quit [Read error: 60 (Operation timed out)]
love-pingoo has joined #ocaml
ikaros has joined #ocaml
malc_ has joined #ocaml
buluca has joined #ocaml
Leonidas has quit [Remote closed the connection]
malc__ has quit [Read error: 110 (Connection timed out)]
Leonidas has joined #ocaml
_velco is now known as velco
delamarche has joined #ocaml
Leonidas_ has joined #ocaml
Leonidas has quit [Nick collision from services.]
Leonidas_ is now known as Leonidas
malc_ has quit ["leaving"]
delamarche has quit []
malc_ has joined #ocaml
chris2 has quit [Read error: 145 (Connection timed out)]
chris2 has joined #ocaml
Leonidas has quit ["An ideal world is left as an exercise to the reader"]
Demitar has quit [Read error: 104 (Connection reset by peer)]
Demitar has joined #ocaml
wezzy has joined #ocaml
bluestorm has joined #ocaml
Skal has quit [Read error: 104 (Connection reset by peer)]
<
mellum>
"OCaml extended with first-class continuations"? Does that exist yet? Doesn't seem easy to do
<
malc_>
i think something to that effect was done by Xavier for bytecode only and a long while ago
jajs has quit [Remote closed the connection]
<
mellum>
I don't really like first-class continuations. They're hard to understand and make the implementation slow. Oh well.
bluestorm has quit ["Konversation terminated!"]
chessguy has joined #ocaml
love-pingoo has quit ["Connection reset by pear"]
Snark has quit ["Leaving"]
malc_ has quit ["leaving"]
velco has quit ["I'm outta here ..."]
<
Slack4020>
i dont know why i cant compile lablgtk grrrrrrr
chris2 has quit ["Leaving"]
smimou has quit ["bli"]
delamarche has joined #ocaml
delamarche has quit [Client Quit]
delamarche has joined #ocaml
Shimei has joined #ocaml
delamarche has quit []
joshcryer has joined #ocaml
danly has quit [Read error: 54 (Connection reset by peer)]
danly has joined #ocaml
delamarche has joined #ocaml
delamarche has quit []
danly has quit ["Leaving"]
batdog is now known as batdog|gone
pauldia has quit [Read error: 110 (Connection timed out)]