jlouis_ has quit [Read error: 110 (Connection timed out)]
_blackdog_away has quit [Read error: 110 (Connection timed out)]
malc_ has quit ["leaving"]
screwt8 has quit [Remote closed the connection]
screwt8 has joined #ocaml
chs_ has joined #ocaml
kelaouchi has quit [Read error: 110 (Connection timed out)]
chs_ has quit []
chs_ has joined #ocaml
_blackdog has quit ["Ex-Chat"]
EliasAmaral has joined #ocaml
joshcryer has quit [Read error: 110 (Connection timed out)]
joshcryer has joined #ocaml
kelaouchi has joined #ocaml
kelaouchi has quit [Read error: 110 (Connection timed out)]
kelaouchi has joined #ocaml
kelaouch1 has joined #ocaml
kelaouch2 has joined #ocaml
kelaouchi has quit [Read error: 110 (Connection timed out)]
kelaouchi has joined #ocaml
kelaouch1 has quit [Read error: 110 (Connection timed out)]
kelaouch1 has joined #ocaml
kelaouch2 has quit [Read error: 110 (Connection timed out)]
kelaouch2 has joined #ocaml
kelaouchi has quit [Read error: 110 (Connection timed out)]
kelaouch1 has quit [Read error: 60 (Operation timed out)]
kelaouchi has joined #ocaml
kelaouch2 has quit [Read error: 110 (Connection timed out)]
love-pingoo has joined #ocaml
Mr_Awesome has quit ["...and the Awesome level drops"]
seafoodX has joined #ocaml
LeCamarade has joined #ocaml
Submarine has quit [Remote closed the connection]
seafoodX has quit []
<vincenz>
hello LeCamarade
smimou has joined #ocaml
mikeX has joined #ocaml
m3ga has joined #ocaml
love-pingoo has quit ["Connection reset by pear"]
love-pingoo has joined #ocaml
love-pingoo has quit ["zou"]
noteventime has joined #ocaml
lde has joined #ocaml
zak has joined #ocaml
<zak>
how compatible is F# with real ocaml?
<m3ga>
zak: this came up on the main ocaml mailing list some time in the last month or so. try searching the archives or ocaml weekly news.
<zak>
ok, thanks
<LeCamarade>
zak: It is sufficiently-compatible.
<LeCamarade>
There will be no surprises, really. I am an OCaml coder doing F# (right now). :o)
<zak>
if i write a fairly large program in ocaml, will i probably be able to port it to F# without too much work?
<LeCamarade>
zak: Would you be doing OCaml on Unix?
<LeCamarade>
Or Windows (the land of F#)?
<rwmjones>
zak, apparently there is a common subset, but it doesn't include many major features (in particular, objects)
<zak>
OCaml on unix, and F# for windows port
<zak>
ahh
<zak>
i thought objects might be quite different..
<LeCamarade>
zak: You may need to be intimately connected to .NET while doing something that may be used on .NET. For example.
<LeCamarade>
You may need to avoid sockets via unix module - not portable.
<zak>
yeah i'm willing to have seperate backends for things like that.. but hmm.. i'm pretty lost without being able to use objects
joshcryer has quit [Read error: 110 (Connection timed out)]
<zak>
is it any slower to have a function on an object than a normal function outside of it that acts on it?
<LeCamarade>
zak: Objects ... ah, I must confess I don't use them outside .NET, frankly. For me, the O on OCaml only comes in when I'm doing .NET.
zak has quit [Read error: 110 (Connection timed out)]
lde has quit [Remote closed the connection]
lde has joined #ocaml
lde has quit [Read error: 104 (Connection reset by peer)]
pango_ has quit [Remote closed the connection]
pango_ has joined #ocaml
m3ga has quit ["disappearing into the sunset"]
LeCamarade has quit ["ExitStatus"]
xian has quit [Remote closed the connection]
ygrek has joined #ocaml
pants1 has quit [Read error: 60 (Operation timed out)]
ygrek has quit [Remote closed the connection]
ygrek has joined #ocaml
love-pingoo has joined #ocaml
descender has joined #ocaml
lde has joined #ocaml
love-pingoo has quit ["Connection reset by pear"]
bluestorm has joined #ocaml
cjeris has joined #ocaml
mikeX has quit [Read error: 110 (Connection timed out)]
_blackdog has joined #ocaml
pants1 has joined #ocaml
pango_ has quit [Remote closed the connection]
pango_ has joined #ocaml
jlouis has joined #ocaml
ygrek_ has joined #ocaml
ygrek has quit [Remote closed the connection]
smimou has quit ["bli"]
EliasAmaral has quit [Remote closed the connection]
ygrek has joined #ocaml
ygrek_ has quit [Remote closed the connection]
Submarine has joined #ocaml
rwmjones has quit ["Closed connection"]
the_dormant has joined #ocaml
benny_ has joined #ocaml
benny has quit [Read error: 110 (Connection timed out)]
descender has quit ["Elegance has the disadvantage that hard work is needed to achieve it and a good education to appreciate it. - E. W. Dijkstra"]
derRichard has joined #ocaml
<derRichard>
hi
<derRichard>
how can i store a string like "foobar" into a string which was created like that one "let s = String.create 64"?
kelaouchi has quit [Remote closed the connection]
<haelix>
derRichard: you're trying to mutate the content of the string ?
<derRichard>
yes
<derRichard>
i know how to store a single char but i need more
pants1 has quit [Read error: 110 (Connection timed out)]
<haelix>
well
<haelix>
first I was shocked to learn this could be done :)
<haelix>
but, browsing through String.*** documentation
<haelix>
it seems you have to roll your own :(
<haelix>
oh, wait: String.blit !!
<derRichard>
oh, nice :)
<derRichard>
i'll test it
<haelix>
oh
<haelix>
I'm sure it works :)
<derRichard>
thanks :)
the_dormant_ has joined #ocaml
the_dormant has quit [Read error: 110 (Connection timed out)]
pango_ has quit [Remote closed the connection]
pango_ has joined #ocaml
vital303 has joined #ocaml
vital303 has quit ["Leaving."]
hcarty has quit [Read error: 110 (Connection timed out)]
vital303 has joined #ocaml
Demitar has quit [Read error: 60 (Operation timed out)]
kelaouchi has joined #ocaml
hcarty has joined #ocaml
joshcryer has joined #ocaml
ygrek has quit [Remote closed the connection]
mnemonic has joined #ocaml
the_dormant_ has quit ["Au revoir"]
the_dormant has joined #ocaml
richardw_ has joined #ocaml
the_dormant has quit ["Au revoir"]
derRichard has quit [Read error: 60 (Operation timed out)]
richardw_ is now known as derRichard
cjeris has quit [Read error: 104 (Connection reset by peer)]
bluestorm has quit ["Konversation terminated!"]
benny has joined #ocaml
Demitar has joined #ocaml
noteventime has quit ["Leaving"]
benny_ has quit [Read error: 110 (Connection timed out)]
piggybox has joined #ocaml
derRichard has quit ["Leaving"]
zmdkrbou has joined #ocaml
Jessehk has joined #ocaml
<Jessehk>
I wrote a basic text-based calculator in Ocaml. Everything works great, but I am struggling to think of a way to read in Nums _and_ floating point numbers.
<Jessehk>
Ie, I read in a line of text, and when I find a number, I convert it using num_of_string.
<Jessehk>
However, is there any way to handle floating point?
_blackdog_ has joined #ocaml
cflag is now known as cpfr
_blackdog has quit [Read error: 110 (Connection timed out)]