eugos changed the topic of #ocaml to: http://pleac.sourceforge.net/ Look at ocaml, it has only 7.86%
<SegPhault> looks like it wont be hard to convert code from one to the other.
<SegPhault> does mlton require a full cygwin installation, or just the cygwin dll...?
<Smerdyakov> Beats me. I'm not unfortunate enough to be doing development on Windows.
<SegPhault> lucky you. ={
<Smerdyakov> If I were you, I'd install the whole Cygwin shebang, since so many cool programs will take it for granted to be built.
<SegPhault> Smerdyakov: I would, but i'm at work and I cant justify installing all that on this system.
<avlondono> heh, Smerdyakov is really having fun getting people to use SML instead of OCaml
<SegPhault> it doesnt look quite as refined as ocaml is, but i'd have to try it out on my *nix system at home to get a real feel for it.
<Smerdyakov> SegPhault, if you mean MLton, that's no wonder, since it's code base is 15 years younger than OCaml's....
<SegPhault> if it can produce native binaries that are more compact and have better runtime effeciency, I will be shocked. The ocaml native compiler is awsome.
<SegPhault> mmmm and my day is done. time to go home.
SegPhault has left #ocaml []
monochrom has joined #ocaml
br1 has joined #ocaml
br1 has quit [Read error: 104 (Connection reset by peer)]
mrsolo has joined #ocaml
j_n_ is now known as jen
jen is now known as j_n
kinners has joined #ocaml
mpc has joined #ocaml
cjohnson has quit ["Leaving"]
mpc has left #ocaml []
mlh has quit [Remote closed the connection]
mlh has joined #ocaml
kinners has quit [Read error: 60 (Operation timed out)]
monochrom has quit ["Don't talk to those who talk to themselves."]
_fab has joined #ocaml
kinners has joined #ocaml
pango has quit ["Client exiting"]
kinners has quit ["leaving"]
jrosdahl has quit [Read error: 104 (Connection reset by peer)]
jrosdahl has joined #ocaml
eugos has joined #ocaml
fab_ has joined #ocaml
_fab has quit [Read error: 232 (Connection reset by peer)]
Herrchen has joined #ocaml
Herrchen has quit ["brb"]
Herrchen has joined #ocaml
buggs^z has joined #ocaml
buggs has quit [Read error: 60 (Operation timed out)]
buggs^z is now known as buggs
fab_ has quit [Remote closed the connection]
mlh has quit [Client Quit]
cjohnson has joined #ocaml
_n0cte_ has joined #ocaml
mlh has joined #ocaml
buggs has quit [Remote closed the connection]
_n0cte_ has left #ocaml []
buggs has joined #ocaml
bk_ has quit ["Leaving IRC - dircproxy 1.1.0"]
pkhuong has quit [Read error: 60 (Operation timed out)]
therapy has joined #ocaml
<eugos> how to write such things in functional but more effective manner? I mean avoiding such ineffective string concatenations. Buffer.* stuff is good but it doesn't allow to make things functional.
<eugos> let rec foo = function
<eugos> | (name, value) :: tl -> name ^ ": " ^ value ^ "\r\n" ^ (foo tl)
<eugos> | [] -> "\r\n"
<eugos> asked just to be sure there are only two ways: one is functional with string concatenation, another one is with side effects, with Buffer
<vincenz> eugos: the third is building a list and only concatening those at the end
<Hadaka> question: has anybody stumbled onto a way to compile and execute file directly? eg. #!/usr/bin/ocaml-compile-and-run or equivalent?
<eugos> vincenz, thank you
mlh has quit [Client Quit]
slashvar[lri] has quit [Read error: 54 (Connection reset by peer)]
bk_ has joined #ocaml
slashvar[lri] has joined #ocaml
knoen has joined #ocaml
bnoah has joined #ocaml
bnoah has quit ["brb"]
bnoah has joined #ocaml
therapy has quit [Read error: 238 (Connection timed out)]
eugos has quit ["Leaving"]
thelsdj has left #ocaml []
cjohnson has quit [Read error: 232 (Connection reset by peer)]
cjohnson has joined #ocaml
Herrchen has quit ["brb"]
Herrchen has joined #ocaml
Herrchen has quit [Remote closed the connection]
Herrchen has joined #ocaml
j_n has quit [Read error: 104 (Connection reset by peer)]
buggs has quit [Read error: 60 (Operation timed out)]
buggs has joined #ocaml
pango has joined #ocaml
monochrom has joined #ocaml
maihem has joined #ocaml
bnoah has quit ["dinner"]
cjohnson has quit [Read error: 104 (Connection reset by peer)]
cjohnson has joined #ocaml
maihem has quit ["Read error: 54 (Connection reset by chocolate)"]
docelic has joined #ocaml
_fab has joined #ocaml
knoen has quit []
maihem has joined #ocaml
pango has quit ["Leaving"]
pango has joined #ocaml
eugos has joined #ocaml
buggs^z has joined #ocaml
jrosdahl has quit [sendak.freenode.net irc.freenode.net]
pattern has quit [sendak.freenode.net irc.freenode.net]
Hadaka has quit [sendak.freenode.net irc.freenode.net]
palomer has quit [Success]
Naked_ has joined #ocaml
Naked_ is now known as Hadaka
cjohnson has quit [Read error: 113 (No route to host)]
pattern has joined #ocaml
cjohnson has joined #ocaml
jrosdahl has joined #ocaml
buggs has quit [Connection timed out]
<eugos> I can't believe but at http://pleac.sourceforge.net/ OCaml has already 24.14%
Herrchen has quit ["Lost terminal"]
eugos changed the topic of #ocaml to: http://pleac.sourceforge.net/ : OCaml has now 24.14%
eugos has quit ["Leaving"]
<pango> (* there is no such non-homogeneous list. You can do things with tuples: *)
<pango> let nested = ("this", "that", ["the"; "other"]) (* string * string * string list *) - could have been the right time to introduce sum types instead...
<Robert> What's a sum type? :)
<Banana> type mytype = Int of int | Bool of bool | ...
<pango> aka union type
buggs|afk has joined #ocaml
<Robert> Ah, OK.
_fab has quit []
jrosdahl has quit [Remote closed the connection]
buggs^z has quit [Connection timed out]
jrosdahl has joined #ocaml
knoen has joined #ocaml
knoen has left #ocaml []
buggs|afk is now known as buggs
palomer has joined #ocaml
mpc has joined #ocaml
mpc has quit []
mpc has joined #ocaml
monochrom has quit ["Don't talk to those who talk to themselves."]
mpc has quit []
mpc has joined #ocaml
maihem has quit ["Read error: 54 (Connection reset by chocolate)"]