polin8 has quit [Read error: 110 (Connection timed out)]
whee has quit ["Leaving"]
brwill is now known as brwill_zzz
det has joined #ocaml
det has quit ["[hienoa] - your ass is glowing!"]
buggs|afk is now known as buggs
clam has joined #ocaml
clam has quit ["no reason"]
<mattam>
anybody knows if it is possible to use the toplevel printing functions in native code ?
systems has joined #ocaml
polin8 has joined #ocaml
systems has quit [Read error: 110 (Connection timed out)]
whiskas has joined #ocaml
<whiskas>
howdy, ML fans!
<whiskas>
;)
<whiskas>
any talking here?
<Riastradh>
No, that's against the rules.
<Riastradh>
We're only allowed to join and part.
<whiskas>
aah
<whiskas>
too bad
<whiskas>
I'm new to ML & friends
<whiskas>
and was hoping for some chit-chat on the subject
<Riastradh>
Do you like it so far?
<whiskas>
well
<whiskas>
yes, but I'm not use to functional languages
<whiskas>
I have a C++ background
clam has joined #ocaml
<Riastradh>
whiskas, do you have any questions about it?
<whiskas>
umm
<whiskas>
a good tutorial would be lovely
<avn>
Riastradh: Can you advice to me and other beginners some useful readings about caml? (Except "Developing applications with Objective Caml")
<whiskas>
avn: good question
<Riastradh>
I found the tutorial in the beginning of the OCaml manual sufficient, but I already knew some other functional languages, so it probably won't be much help to you.
<whiskas>
Riastradh: does it suit (ocaml) regular programming tasks?
<Riastradh>
whiskas, what would you define as a 'regular' programming task?
<whiskas>
well, programming a spread-sheet application, or a mail client, or stuff like that... web services, xml, bla bla
<Riastradh>
Sure, why not?
<avn>
whiskas: I think you can refer to mldonkey project, is really big application developed with ocaml
<whiskas>
great!
<mattam>
whiskas: like xml and web services programming ? look at www.cduce.org when you'll have time
<whiskas>
well, I don't want to start learning a new language just for xml
<mattam>
it's ML + Xml
<whiskas>
hmm
<whiskas>
I don't get this whole thing with ml
<whiskas>
I thought ocaml was a distinct language
<Riastradh>
It is.
<mattam>
it is a dialect of ML
<whiskas>
hmm
<whiskas>
somebody shoot me :(
<Riastradh>
There are also other ML dialects, such as SML.
<mattam>
well, very extended i think, as it has an object system
<mattam>
basically, sum types, function definitions, etc are the same for all ML implementations
<avn>
Riastradh: can you advice me some useful tool for managing project in ocaml? Many people advice 'cook', but I can't find simple and useful Cookfile for ocaml
<Riastradh>
avn, I just use Emacs and make.
<avn>
Riastradh: I try use OCamlMake template but found strange probject, object linkage depend on sequence of arguments
<Riastradh>
I mean the ordinary UNIX 'make' utility.
<avn>
Riastradh: It library for include to Makefile
<Riastradh>
Oh.
<mattam>
avn: it is the caml compiler behavior
<avn>
I found it in ocaml-tools package in my debian
<avn>
mattam: can you suggest me any tool for avoid this problem?
<mattam>
well, OCamlMakefile also has dependencies checking, so that shouldn't be a problem
<mattam>
usually you know in which order your sources should be compiled don't you ?
<avn>
mattam: yes ;) But I won't track it manually
clam has quit [Read error: 60 (Operation timed out)]
lus|wazze has joined #ocaml
systems has joined #ocaml
clam has joined #ocaml
rox has quit [Read error: 113 (No route to host)]
jdrake has joined #ocaml
<jdrake>
Lord Smerdyakov, are you there?
clam has quit [Read error: 60 (Operation timed out)]
systems has quit [Read error: 110 (Connection timed out)]
whiskas has quit ["Good bye, blue sky"]
rox has joined #ocaml
brwill_zzz is now known as brwill
<Smerdyakov>
Now I am.
<jdrake>
back two days ago about the pattern matching thing instead of fst and snd were you refering to takeing a parameter like let create_planet (width, height) = instead of the tuple let create_planet size =
<Smerdyakov>
Yes
<Smerdyakov>
Though the parameter is a tuple in both cases; you just use different patterns.
<jdrake>
is every assignment pattern matching?
<Smerdyakov>
Do you mean things like let x = 1 ?
<jdrake>
sure
<Smerdyakov>
Yup
whee has joined #ocaml
<Maddas>
What are typical use of streams?
<Maddas>
don't destructive matching make them a bit less useful?
<Maddas>
hm, but then again, infinte memory usage isn't very useful either
<Maddas>
infinite, even
<Riastradh>
Streams don't use infinite memory.
<buggs>
think that's what he meant
<Maddas>
I meant that they would if if they wouldn't destruct and one would use an infinite stream :)
<Maddas>
(Well, not *really* infinite, just as much as you let it use)
erg has quit ["..."]
buggs|afk has joined #ocaml
jdrake has quit [Remote closed the connection]
buggs has quit [Read error: 60 (Operation timed out)]
Xcalibor has joined #ocaml
jdrake has joined #ocaml
<Xcalibor>
hi all
Xcalibor has quit ["Terminando cliente"]
buggs|afk has quit [orwell.freenode.net irc.freenode.net]
buggs|afk has joined #ocaml
jdrake has quit [Read error: 110 (Connection timed out)]