mbishop changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | Grab Ocaml 3.10.0 from http://caml.inria.fr/ocaml/release.html (featuring new camlp4 and more!)
david_koontz has joined #ocaml
the_dormant has quit []
szsz has joined #ocaml
RobertFischer has quit ["I'm out: check me out at http://smokejumperit.com"]
szsz has quit [Remote closed the connection]
darinm has joined #ocaml
buluca has joined #ocaml
pants1 has joined #ocaml
l_a_m has quit [Remote closed the connection]
CRathman has joined #ocaml
david_koontz has quit []
RobertFischer has joined #ocaml
david_koontz has joined #ocaml
pants1 has quit ["Leaving."]
henry_r has quit ["Konversation terminated!"]
szsz has joined #ocaml
david_koontz has quit []
jeremiah has quit [Remote closed the connection]
szsz has quit [Read error: 113 (No route to host)]
jeremiah has joined #ocaml
david_koontz has joined #ocaml
<mbishop> Huzzah!
<mbishop> Found a solution to Unix.sleep/Graphics on fa.caml
szsz has joined #ocaml
RobertFischer has quit []
ser_ has joined #ocaml
szsz has quit [No route to host]
RobertFischer has joined #ocaml
dbueno has quit ["This computer has gone to sleep"]
RobertFischer has quit ["I'm out: check me out at http://smokejumperit.com"]
RobertFischer has joined #ocaml
RobertFischer has quit [Client Quit]
RobertFischer has joined #ocaml
ser_ has quit [Read error: 113 (No route to host)]
Mr_Awesome has joined #ocaml
david_koontz has quit []
szsz has joined #ocaml
CRathman has quit [Connection timed out]
szsz has quit []
ser_ has joined #ocaml
jedai has quit [Read error: 113 (No route to host)]
david_koontz has joined #ocaml
pants1 has joined #ocaml
ser_ has quit [Read error: 113 (No route to host)]
RobertFischer has quit ["I'm out: check me out at http://smokejumperit.com"]
buluca has quit [Read error: 113 (No route to host)]
<Ober> nice language
jedai has joined #ocaml
psnively has joined #ocaml
psnively has quit []
jedai has quit [No route to host]
CRathman has joined #ocaml
darinm has quit []
darinm has joined #ocaml
ser_ has joined #ocaml
pants1 has quit [Read error: 110 (Connection timed out)]
david_koontz has quit []
ser_ has quit [Read error: 104 (Connection reset by peer)]
ser_ has joined #ocaml
vorago has quit [Read error: 113 (No route to host)]
pants1 has joined #ocaml
CRathman has quit [Read error: 110 (Connection timed out)]
ser_ has quit [Remote closed the connection]
CRathman has joined #ocaml
CRathman has quit [Remote closed the connection]
kelaouchi has quit ["leaving"]
darinm has quit []
jdavis_ has quit ["Leaving"]
ser_ has joined #ocaml
ser_ has quit [Read error: 113 (No route to host)]
ser_ has joined #ocaml
ser__ has joined #ocaml
ser_ has quit [Read error: 104 (Connection reset by peer)]
ser__ has quit [Client Quit]
ser_ has joined #ocaml
Mr_Awesome has quit ["aunt jemima is the devil!"]
ser__ has joined #ocaml
ser_ has quit [Read error: 104 (Connection reset by peer)]
ser_ has joined #ocaml
ser__ has quit [Read error: 104 (Connection reset by peer)]
ser__ has joined #ocaml
ser_ has quit [Read error: 104 (Connection reset by peer)]
jedai has joined #ocaml
lde` has joined #ocaml
lde has quit [Read error: 104 (Connection reset by peer)]
asmanur has joined #ocaml
ygrek has joined #ocaml
ser__ has quit [Remote closed the connection]
the_dormant has joined #ocaml
Tetsuo has joined #ocaml
asmanur has quit [Remote closed the connection]
asmanur has joined #ocaml
m3ga has joined #ocaml
asmanur has quit [Remote closed the connection]
l_a_m has joined #ocaml
Demitar has quit [zelazny.freenode.net irc.freenode.net]
Demitar has joined #ocaml
the_dormant has quit [Connection timed out]
the_dormant has joined #ocaml
buluca has joined #ocaml
m3ga has left #ocaml []
smimou has joined #ocaml
Tetsuo has quit [Read error: 104 (Connection reset by peer)]
Tetsuo has joined #ocaml
vorago has joined #ocaml
asmanur has joined #ocaml
dbueno has joined #ocaml
dbueno has quit [Client Quit]
dbueno has joined #ocaml
seafood_ has joined #ocaml
asmanur has quit [Read error: 110 (Connection timed out)]
the_dormant has quit []
ita has joined #ocaml
david_koontz has joined #ocaml
jlouis has joined #ocaml
jlouis_ has quit [Read error: 110 (Connection timed out)]
TaXules has quit ["maj openbsd"]
buluca has quit [Read error: 113 (No route to host)]
pants1 has quit [Read error: 110 (Connection timed out)]
RobertFischer has joined #ocaml
buluca has joined #ocaml
seafood_ has quit []
lde` is now known as lde
RobertFischer has quit []
ser_ has joined #ocaml
ser_ has quit [Read error: 104 (Connection reset by peer)]
ser_ has joined #ocaml
psnively has joined #ocaml
ser_ has quit [Read error: 113 (No route to host)]
ser_ has joined #ocaml
buluca has quit [No route to host]
ser_ has quit [Read error: 104 (Connection reset by peer)]
ser_ has joined #ocaml
ser_ has quit []
ser_ has joined #ocaml
ser_ has quit [Read error: 104 (Connection reset by peer)]
filp has joined #ocaml
ser_ has joined #ocaml
c has quit [Remote closed the connection]
c has joined #ocaml
the_dormant has joined #ocaml
ser_ has quit [Read error: 113 (No route to host)]
pango_ has quit [Remote closed the connection]
pango_ has joined #ocaml
the_dormant has quit ["Au revoir"]
the_dormant has joined #ocaml
jedai has quit ["KVIrc 3.2.6 Anomalies http://www.kvirc.net/"]
schme has joined #ocaml
rillig has joined #ocaml
rillig has left #ocaml []
asmanur has joined #ocaml
darinm has joined #ocaml
the_dormant has quit ["Au revoir"]
pants1 has joined #ocaml
darinm has quit []
psnively has quit []
Yoric[DT] has joined #ocaml
<Yoric[DT]> hi
Mr_Awesome has joined #ocaml
tty56 has quit [Read error: 60 (Operation timed out)]
pants1 has quit [Remote closed the connection]
mrsolo has quit [Read error: 104 (Connection reset by peer)]
doctormach has joined #ocaml
ikaros has joined #ocaml
<tristram> just to be sure (I tend to overlook obvious things) : there is no way to do a kind of "in place" map on arrays : aka let a=[|1;2|] in Array.mymap (fun x->2*x) a (* a is now[|2;4|] *)
buluca has joined #ocaml
CRathman has joined #ocaml
david_koontz has quit []
<Yoric[DT]> You mean some kind of array comprehension ?
<Yoric[DT]> Oh, understood.
<Yoric[DT]> afaik, there's no way to that -- except that's exactly what "for" is, well, designed for.
<tristram> yup, but i don't really need the index, just to apply a function; but no big deal, mostly curious about the differents ways to do the same thing
<Yoric[DT]> Perhaps iter ?
<flux> or iteri
dbueno has quit ["This computer has gone to sleep"]
david_koontz has joined #ocaml
<Yoric[DT]> Wouldn't be very hard to write such a function, mind you.
<Yoric[DT]> About one line, I'd say...
<tristram> sure :)
darinm has joined #ocaml
Yoric[DT] has quit ["Ex-Chat"]
ikaros has quit ["segfault"]
darinm has quit [No route to host]
buluca has quit [No route to host]
Tetsuo has quit ["Leaving"]
bzzbzz_ has joined #ocaml
gim has quit [Read error: 110 (Connection timed out)]
gim has joined #ocaml
CRathman has quit [Connection timed out]
bzzbzz has quit [Read error: 110 (Connection timed out)]
bluestorm_ has joined #ocaml
smimou has quit ["bli"]
smimou has joined #ocaml
l_a_m has quit [Remote closed the connection]
david_koontz has quit []
darinm has joined #ocaml
TaXules has joined #ocaml
ygrek has quit [Remote closed the connection]
<Ober> so if you write say a tcp service in ocaml is it not going to suffer from silly programmer mistakes that allow the remote buffer overflows/offby1/input validation issues of say C?
<Smerdyakov> OCaml is memory safe if you avoid parts of the standard library. Does that answer your question?
<Ober> like the Unix module? or do you mean like libc?
ser_ has joined #ocaml
<ita> Smerdyakov: which parts of the standard library ? :-)
<Smerdyakov> Obj.magic, Marshal, maybe more.
<Smerdyakov> And I meant "the OCaml standard library." That has a well-defined meaning in the manual.
ser__ has joined #ocaml
ser___ has joined #ocaml
ser__ has quit [Read error: 113 (No route to host)]
ser___ has quit [Read error: 113 (No route to host)]
ser__ has joined #ocaml
seafood_ has joined #ocaml
ser_ has quit [Read error: 113 (No route to host)]
doctormach has quit ["Leaving"]
buluca has joined #ocaml
CRathman has joined #ocaml
ser__ has quit [Read error: 113 (No route to host)]
Jedai has joined #ocaml
RobertFischer has joined #ocaml
filp has quit ["Bye"]
<pango_> Ober: strings poisoning with \0 may still be an issue
<pango_> OCaml doesn't care whether strings contain \0s, but some libraries or system calls expect zero terminated strings; Hence application and system may disagree on the interpretation of strings
darinm has quit []
asmanur has quit [Remote closed the connection]
<mbishop> I only know of Obj.* and Marshal stuff being "unsafe"
<pango_> plus all the *.unsafe_[gs]et
<mbishop> well at least those are clearly labeled
<mbishop> I wonder why that graphics/unix.sleep problem isn't fixed yet. I found on fa.caml Xavier Leroy gave some workaround code...back in 2002 :/
<pango_> or why Marshal is not safe yet; From what I understand third party libraries provide type-safe marshalling with reasonable constrains and performance
buluca has quit [Read error: 113 (No route to host)]
<mbishop> I'd ask on fa.caml but I'm too scared :P
smimou has quit [Remote closed the connection]
smimou has joined #ocaml
seafood_ has quit []
Mr_Awesome has quit ["aunt jemima is the devil!"]
buluca has joined #ocaml