smkl has quit [Killed (NickServ (Ghost: smklsmkl!~sami@glubimox.yok.utu.fi))]
smklsmkl is now known as smkl
mrvn_ has quit [Read error: 110 (Connection timed out)]
TachYon25 has quit ["bez ki³y nie ma zaliczenia (z prawd studentek AM)"]
<xtrm>
could lambda be recursive ?
<xtrm>
or a lambda function could have a name ?
<MegaWatS>
?
<MegaWatS>
what do you mean?
<xtrm>
i want to a recurs lambda
<xtrm>
+make
<xtrm>
let make_fn params = (function l -> match l with [] -> "" | x::[] -> x | x::ll -> x^ lambda(ll))
<MegaWatS>
let rec ?
<MegaWatS>
let rec concat s = match s with [] -> "" | h :: t -> h ^ concat t is that what you want to do?
<karryall>
xtrm: no you can't have anonymous recursive function
<karryall>
(not easily)
<karryall>
there's a message from xavier about this in the mailling-list
<xtrm>
MegaWatS: not exactly
<xtrm>
karryall: i've search recursive lambda
<MegaWatS>
if you want to do an anonymous recursive function the next-best thing you could do is simply do
<MegaWatS>
(let rec foo bar = ... in foo)
<karryall>
xtrm: je retrouve pas
<xtrm>
let recurs l = (let rec f l = match l with [] -> "" | x::[] -> "" | x::ll -> x^(f ll)) in (f l));;
<xtrm>
syntax error :(
<smkl>
you can use "let rec y f x = f (y f) x"
<MegaWatS>
x^(f ll)) <-- you've got a closing paren too much there
<MegaWatS>
or rather
<MegaWatS>
it lacks an "in f" there
<xtrm>
yes all right
SYStems has joined #ocaml
<xtrm>
bad cut and paste
SYStems has quit ["-eXtreme- [Unix] is not necessarily evil, like OS/2. - Peter Norton"]
lam has quit [Read error: 104 (Connection reset by peer)]
lam has joined #ocaml
lam has quit ["leaving"]
owll has joined #ocaml
lam has joined #ocaml
Dalroth has joined #ocaml
<thierry>
pnou: are you here ?
<thierry>
did someone compiled the last snapshot of cameleon ?
TachYon25 has joined #ocaml
owll has quit ["Client Exiting"]
karryall has quit ["bye .."]
<Yurik>
did anyone tried to use ocamlopt on win w/o microsoft assembler?
<smkl>
no, but it should be possible to dl masm free from microsoft
<Yurik>
i know
<Yurik>
but i can't find it :(
<smkl>
perhaps it comes with the new free vc.net
<Yurik>
i've downloaded it once about half of year ago.. and now can't find
<MegaWatS>
shouldn't it be possible theoretically to make ocamlopt work with some other (free) win32 assembler , like nasm?
<MegaWatS>
maybe that would be a better option than using masm
<MegaWatS>
anyway last time I had to look for it, masm was in a package called "driver development kit" or somesuch :/
<Yurik>
may be better 'as' assembler?
<MegaWatS>
I dont know that one :)
<Yurik>
from mingw
<MegaWatS>
i always use nasm on windows
<MegaWatS>
oh
<MegaWatS>
hmm
<smkl>
i wonder why microsoft wants to prevent people from developing for windows
<Yurik>
it is their strategy :)
<MegaWatS>
that should use gas syntax then?
<Yurik>
only worse tools for free
<Yurik>
MegaWatS: seems so
<MegaWatS>
then it should be really easy to do actually :/
<Yurik>
how?
<Yurik>
it fails for me
<MegaWatS>
actually ms is very much for people developping for windows... as long as they do it the way THEY want, i.e. with the language/"technology" of their special interest-of-the-day
<MegaWatS>
these days, that would be .net ...
<Yurik>
c# sucks ;)
<MegaWatS>
yurik: I didn't mean simple as in installing any current versiomn like that, I meant as a feature to be built into a future version
<MegaWatS>
or as a patch
<Yurik>
MegaWatS: ah
<MegaWatS>
yurik that goes without saying, so das java ... so what? ms still wants people to use it
<MegaWatS>
das = does
<Yurik>
heh. fp rules :)
<MegaWatS>
c#
<Yurik>
especially caml
<MegaWatS>
not java, that is :)
<MegaWatS>
well I can have a heart for a wide range of kinds and paradigms of programming languages :p
<Yurik>
just as for me, caml made me happy for programming. i know a lot of languages, but caml is very suitable for me, more than others
<Yurik>
i found MASM !!! :-)
<MegaWatS>
its in the ddk isnt it?
<Yurik>
awful microsoft.com site... 30 mins to find assembler
<Yurik>
processor pacl
<Yurik>
processor pack
<MegaWatS>
ic
<MegaWatS>
heh
<MegaWatS>
yeah ms page is a mess
<MegaWatS>
no let me rephrase that
<MegaWatS>
a HORRIBLE MESS FROM HELL where you cant ever find what you are looking for
<Yurik>
yeah
<Yurik>
seems that asm requires visual c++
<Yurik>
bah!
<MegaWatS>
well it requires a linker...
<MegaWatS>
i dont think it needs anything else in addition though Im not sure
<Yurik>
ummm. could caml link w/ mingw linker
<Yurik>
?
<MegaWatS>
i doubt it
<Yurik>
or could i donwload linker for free from ms?
<MegaWatS>
i think they use a different object format
<MegaWatS>
hmm
<MegaWatS>
no idea :|
<MegaWatS>
i have visual studio so it simply uses the linker etc from that :/
<MegaWatS>
couldnt you just use the cygwin port then?
<MegaWatS>
it says on the ocaml homepage that the non-cygwin native port requires visual studio ...
<Yurik>
damn
<Yurik>
cygwin has no threads in ocaml
<Yurik>
and requires extra dll
<MegaWatS>
://
<MegaWatS>
hmm
<MegaWatS>
well i dont know exactly either
<MegaWatS>
but I *think* that the port only needs the linker and librarian from visual studio
<MegaWatS>
well and it invokes the C compiler for C source files...
<Yurik>
bah bah bah
* Yurik
have tried to install processor pack
<MegaWatS>
but as long as you dont use tht the linker and librarian should suffice
<MegaWatS>
I dont know :/
<Yurik>
and it said that w/o vc++ it willn't install
<MegaWatS>
:(
<Yurik>
what the hell is this platform???
<MegaWatS>
well its commercial, proprietary and closed so ... well it is proprietary, commercial and closed
<Yurik>
you should pay hundred of bucks just to start programming. bah! unix is better :)
<MegaWatS>
well anyway im off to playsome games now sry :)
<smkl>
somebody mailed the caml list, and said that microsoft gives a limited version of vc++.net with the free .net sdk