<christi>
Lemmih: then can u tell me please how do i run a ml program?
<Lemmih>
You can either compile it to byte code or native code.
<Smerdyakov>
christi, have you read the manual?
<christi>
Smerdyakov: yes
<Smerdyakov>
christi, then you should know this....
<christi>
and i've hear that caml and ocaml differ
<Smerdyakov>
Ah, if you mean Caml Light, then, no, you can't.
cjohnson has quit [Read error: 60 (Operation timed out)]
cjohnson has joined #ocaml
christi has left #ocaml []
buggs^z has joined #ocaml
cjohnson has quit [Read error: 54 (Connection reset by peer)]
buggs has quit [Read error: 60 (Operation timed out)]
demitar_ has quit [Read error: 104 (Connection reset by peer)]
demitar__ has joined #ocaml
Smerdyakov has quit ["Client exiting"]
kinners has joined #ocaml
monotonom has quit ["Don't talk to those who talk to themselves."]
kinners has quit ["leaving"]
bk_ has quit ["Leaving IRC - dircproxy 1.1.0"]
vezenchio has joined #ocaml
Smerdyakov has joined #ocaml
gazoul has joined #ocaml
gazoul has quit [Client Quit]
_shawn has joined #ocaml
bk_ has joined #ocaml
shawn has quit [Connection timed out]
karryall has quit ["tcho"]
bk_ has quit ["Leaving IRC - dircproxy 1.1.0"]
_shawn has quit [Read error: 54 (Connection reset by peer)]
_shawn has joined #ocaml
bk_ has joined #ocaml
<slashvar>
Yop
<det>
Yip!
Snark has joined #ocaml
<Snark>
slt
buggs^z is now known as buggs
kosmikus|away is now known as kosmikus
srv has quit [calvino.freenode.net irc.freenode.net]
mmc has quit [calvino.freenode.net irc.freenode.net]
gl has quit [calvino.freenode.net irc.freenode.net]
sundeep has quit [calvino.freenode.net irc.freenode.net]
Banana has quit [calvino.freenode.net irc.freenode.net]
_fab has quit [calvino.freenode.net irc.freenode.net]
bk_ has quit [calvino.freenode.net irc.freenode.net]
_shawn has quit [calvino.freenode.net irc.freenode.net]
Lemmih has quit [calvino.freenode.net irc.freenode.net]
rox has quit [calvino.freenode.net irc.freenode.net]
det has quit [calvino.freenode.net irc.freenode.net]
vezenchio has quit [calvino.freenode.net irc.freenode.net]
yella has quit [calvino.freenode.net irc.freenode.net]
lam has quit [calvino.freenode.net irc.freenode.net]
slashvar has quit [calvino.freenode.net irc.freenode.net]
demitar__ has quit [calvino.freenode.net irc.freenode.net]
Anvil_Vapre has quit [calvino.freenode.net irc.freenode.net]
kosmikus has quit [calvino.freenode.net irc.freenode.net]
gim has quit [calvino.freenode.net irc.freenode.net]
Lor has quit [calvino.freenode.net irc.freenode.net]
cmeme has quit [calvino.freenode.net irc.freenode.net]
Hipo has quit [calvino.freenode.net irc.freenode.net]
buggs has quit [calvino.freenode.net irc.freenode.net]
smkl has quit [calvino.freenode.net irc.freenode.net]
Smerdyakov has quit [calvino.freenode.net irc.freenode.net]
wolf|sleep has quit [calvino.freenode.net irc.freenode.net]
pattern has quit [calvino.freenode.net irc.freenode.net]
skylan has quit [calvino.freenode.net irc.freenode.net]
mellum has quit [calvino.freenode.net irc.freenode.net]
gl has joined #ocaml
mmc has joined #ocaml
srv has joined #ocaml
Smerdyakov has joined #ocaml
Banana has joined #ocaml
sundeep has joined #ocaml
wolf|sleep has joined #ocaml
_fab has joined #ocaml
pattern has joined #ocaml
skylan has joined #ocaml
mellum has joined #ocaml
bk_ has joined #ocaml
_shawn has joined #ocaml
vezenchio has joined #ocaml
demitar__ has joined #ocaml
buggs has joined #ocaml
Anvil_Vapre has joined #ocaml
rox has joined #ocaml
Lemmih has joined #ocaml
kosmikus has joined #ocaml
slashvar has joined #ocaml
det has joined #ocaml
gim has joined #ocaml
yella has joined #ocaml
lam has joined #ocaml
Hipo has joined #ocaml
Lor has joined #ocaml
cmeme has joined #ocaml
smkl has joined #ocaml
slashvar is now known as slashvar[lri_wor
slashvar[lri_wor is now known as slashvar[lri]
Lemmih has quit [calvino.freenode.net irc.freenode.net]
bk_ has quit [calvino.freenode.net irc.freenode.net]
_shawn has quit [calvino.freenode.net irc.freenode.net]
rox has quit [calvino.freenode.net irc.freenode.net]
det has quit [calvino.freenode.net irc.freenode.net]
lam has quit [calvino.freenode.net irc.freenode.net]
yella has quit [calvino.freenode.net irc.freenode.net]
vezenchio has quit [calvino.freenode.net irc.freenode.net]
slashvar[lri] has quit [calvino.freenode.net irc.freenode.net]
Lor has quit [calvino.freenode.net irc.freenode.net]
demitar__ has quit [calvino.freenode.net irc.freenode.net]
cmeme has quit [calvino.freenode.net irc.freenode.net]
Anvil_Vapre has quit [calvino.freenode.net irc.freenode.net]
kosmikus has quit [calvino.freenode.net irc.freenode.net]
gim has quit [calvino.freenode.net irc.freenode.net]
Hipo has quit [calvino.freenode.net irc.freenode.net]
buggs has quit [calvino.freenode.net irc.freenode.net]
smkl has quit [calvino.freenode.net irc.freenode.net]
buggs has joined #ocaml
bk_ has joined #ocaml
_shawn has joined #ocaml
rox has joined #ocaml
Lemmih has joined #ocaml
vezenchio has joined #ocaml
det has joined #ocaml
lam has joined #ocaml
yella has joined #ocaml
demitar__ has joined #ocaml
Anvil_Vapre has joined #ocaml
kosmikus has joined #ocaml
gim has joined #ocaml
Hipo has joined #ocaml
Lor has joined #ocaml
cmeme has joined #ocaml
smkl has joined #ocaml
slashvar[lri] has joined #ocaml
tyler has joined #ocaml
kinners has joined #ocaml
Anvil_Vapre has quit [Remote closed the connection]
gim has quit ["brb"]
gim has joined #ocaml
kinners has quit ["leaving"]
wolf|sleep is now known as wolfman8k
jao has joined #ocaml
Banana has quit ["leaving"]
Iter has joined #ocaml
demitar__ has quit [Read error: 104 (Connection reset by peer)]
demitar_ has joined #ocaml
gazoul has joined #ocaml
CosmicRay has joined #ocaml
slashvar[lri] is now known as slashvar[kf]
Iter has quit [Read error: 110 (Connection timed out)]
mij_ has joined #ocaml
gazoul has quit [Read error: 110 (Connection timed out)]
mij has quit [Read error: 110 (Connection timed out)]
mij_ has quit ["Lost terminal"]
<bk_>
good lord, i hate gentoo
<Lemmih>
How so?
<bk_>
the smlnj ebuild is borked and there's no ebuild for mlton either
karryall has joined #ocaml
<Lemmih>
Then submit a bug report.
<bk_>
i just requested an mlton ebuild and then i tried to be a wiseass and emerge smlnj so i could compile mlton with it until i found out that smlnj is borked
<karryall>
heh, just found out you don't need spaces in applications with labelled arguments
<karryall>
f~x~y is accepted
<karryall>
funny
<CosmicRay>
thjis is a question out of curiousity from someone unfamiliar with the ML history. why would someone chose SML instead of OCaml?
<bk_>
curiosity and educational purposes, that valid for me at least
<gim>
bk_: smlnj emerges correctly for me
<bk_>
try to run sml
<gim>
ok don't work
<gim>
:/
<bk_>
the wrapper script is borked and some files are not symlinked correctly or something
<bk_>
very annoying
Banana has joined #ocaml
mij has joined #ocaml
<bk_>
got it
<mattam>
bk_: got an ebuild for smlnj ?
<bk_>
no i think i got mlton working
dobrek has joined #ocaml
jao has quit ["ERC Version 4.0 $Revision: 1.600 $ (IRC client for Emacs)"]
<bk_>
oh ok
<bk_>
Bug 48509
<bk_>
sml
<bk_>
Standard ML of New Jersey v110.42 [FLINT v1.5], October 16, 2002
<bk_>
works
karryall has quit ["ERC Version 4.0 $Revision: 1.669 $ (IRC client for Emacs)"]
bk_ has quit ["Leaving IRC - dircproxy 1.1.0"]
Snark has quit ["Parti"]
<mattam>
so i didn't add an einfo in the 110-42 ebuild but only in the 110-43 version ...
demitar_ has quit [Read error: 54 (Connection reset by peer)]
demitar__ has joined #ocaml
mattam_ has joined #ocaml
mattam has quit [Nick collision from services.]
mattam_ is now known as mattam
Snark has joined #ocaml
kosmikus is now known as kosmikus|away
<det>
CosmicRay: still around?
Axioplase has joined #ocaml
<CosmicRay>
det: yes
<Axioplase>
Chat Lu!
<det>
CosmicRay: In response to your question ..
<det>
CosmicRay: there are of course differences in the languages themselves
<det>
CosmicRay: SML has multiple implmenentations
<det>
CosmicRay: SML has a standard
<det>
CosmicRay: .. and MLTon is awesome :)
<CosmicRay>
I'm most interested in the language differences
<CosmicRay>
and standard library support
<det>
ehh SML has nowhere near Ocaml's libraries :)
<CosmicRay>
ok. I will not be using it then, since I think OCamls libraries are already sparse :-)
<det>
google for "sml vs ocaml"
<det>
there is a page that should be at the top
<det>
highlighting some differences
<dobrek>
has anybody an ~/.emacs for Tuareg which is "revised syntax| friendly ?
<CosmicRay>
thanks det
<det>
n/p
benja has joined #ocaml
benja has left #ocaml []
demitar__ is now known as Demitar
<Demitar>
CosmicRay, perl4caml does magic when it comes to libraries... :)
monotonom has joined #ocaml
Snark has quit [Read error: 60 (Operation timed out)]
Snark has joined #ocaml
Erzbergwerkzwerg has joined #ocaml
Nutssh has joined #ocaml
Snark has left #ocaml []
<Erzbergwerkzwerg>
I need some help with Unix.send . What do its parameters mean?
<Smerdyakov>
Look at the man page for the corresponding C function.
<Erzbergwerkzwerg>
well... thanks
<Erzbergwerkzwerg>
still a problem: c has this signature : int send(int s, const void *msg, int len, unsigned int flags);
<Erzbergwerkzwerg>
while ocaml has this: val send : file_descr -> string -> int -> int -> msg_flag list -> int
<Erzbergwerkzwerg>
if s ist the socket address, then what's the second ( or first ) int-parameter good for?
<Smerdyakov>
I think it's the same parameters, plus one extra.
<Smerdyakov>
(in the same order)
<Smerdyakov>
And I don't know what the extra is. :
wolfman8k has quit ["Leaving"]
<Nutssh>
Look at UnixLabels?
<Nutssh>
# UnixLabels.send;;
<Nutssh>
- : UnixLabels.file_descr ->
<Nutssh>
buf:string -> pos:int -> len:int -> mode:UnixLabels.msg_flag list -> int
<Nutssh>
= <fun>
<Erzbergwerkzwerg>
that did it. i had a guess, but tried len with the string terminator included.
<Erzbergwerkzwerg>
thanks
Erzbergwerkzwerg has quit [Read error: 104 (Connection reset by peer)]
<det>
Smerdyakov: what reasons would you give to choose SML over OCaml?
<Nutssh>
width subtyping?
<Smerdyakov>
det, I don't have an opinion on that.
vezenchio has quit ["According to [a processor for game design], you statistically have a better chance of becoming a rock star than you do of suc]
wolfman8k has joined #ocaml
dobrek has quit ["leaving"]
sundeep has quit ["Client exiting"]
sundeep has joined #ocaml
Nutssh has quit ["Client exiting"]
Smerdyakov has quit ["Client exiting"]
Iter has joined #ocaml
Smerdyakov has joined #ocaml
<Axioplase>
++
Axioplase has quit [Remote closed the connection]
Iter has quit ["Leaving"]
psb_ has joined #ocaml
<psb_>
Anybody made much use of ocamllex?
<Lemmih>
Yeah.
<psb_>
I'm having an issue with ocamllex regex syntax. My problem is that I can't match the beginning of a line.
<psb_>
I think that the ^ operator works in Str.regex but not in ocamllex. Do you know if this is the case?
<Smerdyakov>
Isn't \n the beginning of a line?
<psb_>
Maybe I just don't know how to use regex in ocamllex.
<psb_>
Except for the first.
<Smerdyakov>
You can use special handling for the first line, though I'd be surprised if you need to.