_JusSx_ has quit ["[BX] "I did not have sexual relations with that client, BitchX.""]
<drWorm_>
"This expression has type reason but is here used with type reason" -- uhu?
<drWorm_>
can't types and record labels have the same names?
<ayrnieu>
Paste the code, please.
Abidbol has joined #ocaml
<Abidbol>
hello
<Abidbol>
I've made knot in my modules, is there someone able to help me ?
<Abidbol>
i can't compile a module A because it use a module B, but i can't compile B because it use the module A.
<teratorn>
ugh nastly circular module depndencies
<Abidbol>
in fact, the problem is not while i compile but while i link
<teratorn>
"don't do that"
<Abidbol>
hum
<Abidbol>
i cut in modules in order not to have too big files
<teratorn>
"too big files" is the reason for using modules
<teratorn>
it's just one of the good by-products
<teratorn>
go ahead and refactor the parts that both modules need in to a third module
<Abidbol>
my brain is going to burst
<Abidbol>
ok, i'll try
<Abidbol>
what kind of program do you make with [O]Caml ?
<Abidbol>
i learn OCaml, alone with books because i think it's a very elegent language
<Abidbol>
but i'm just a student and the only "big" application i've ever seen in ocaml is HeVeA.
<mattam>
you can write any sort of software with OCaml, there is Coq, a theorem prover, or SpamOracle a spam filter, or bindings for Gtk or anything one could think of
<ayrnieu>
Well, O'Caml doesn't work as well for certain kinds of programs as more Lispier languages.
<Abidbol>
i know there is many possibilities but they seem unexploited
<teratorn>
I think ocaml could have a larger "market" so to speak if it had better support for being used as an optimization language
<ayrnieu>
Please don't call it Scheme if it doesn't have macros.
<Abidbol>
"che-meu" :)
<ayrnieu>
If you implement scheme48's pre-scheme, you can use its coded-in-pre-scheme scheme.
<drWorm_>
ayrnieu: sorry for the delay, i put up the relevant bits at http://www.ii.uib.no/~haakon/tmp/error.ml with the error message -- i'm a newbie, excuse any ugliness ;)
<ayrnieu>
drWorm - sorry for what delay?
<drWorm_>
02:29:38 < ayrnieu> Paste the code, please.
<drWorm_>
reason_of_string is string -> reason, and the record expects a reason type for the reason label, i can't see what's wrong
<ayrnieu>
drWorm - to answer your question rather than solve your problem: type log_entry = { name : string; reason : reason };; let x = {name = "hello"; reason = Escaped };; print_string (if x.reason = Escaped then "Escaped!" else "wha?");;
<ayrnieu>
also, let reason = Escaped in {name = "hello"; reason = reason};;
<ayrnieu>
So I'd guess that you want to talk more about reason_of_string.
<drWorm_>
hm hm ...
<drWorm_>
i included it in error.ml now if you want to see it, but i take hints rather than solutions :)
<drWorm_>
i've tested it though, it really does what i want it to
jdmarshall has joined #ocaml
<drWorm_>
heh, it seems to work if i move "reason = reason_of_string reason" up a line
ayrnieu has quit ["leaving"]
ayrnieu has joined #ocaml
<Abidbol>
good night all
Abidbol has quit ["bye"]
tomasso has quit [Read error: 104 (Connection reset by peer)]
maihem has quit ["Client exiting"]
Smerdyakov has joined #ocaml
Nomme has joined #ocaml
Nomme has quit [Client Quit]
wazze has quit ["If we don't believe in freedom of expression for people we despise, we don't believe in it at all -- Noam Chomsky"]
<Smerdyakov>
I see wazze's quit message waaaay too often.
Smerdyakov has quit []
Nomme has joined #ocaml
Nomme is now known as Abidbol
<Abidbol>
good morning
<Abidbol>
i have a problem with ocamlyacc :)
codeburnt has joined #ocaml
Herrchen has quit [Read error: 110 (Connection timed out)]
lms has joined #ocaml
ayrnieu has quit ["grr"]
ayrnieu has joined #ocaml
phubuh has joined #ocaml
<phubuh>
hrm
<ayrnieu>
hm?
<phubuh>
why am I getting a bunch of undefined refs to ocaml functions when I'm linking my program with ocamlopt? stuff like CamlinternalOO__new_method_199, StringLabels, etc
cjohnson has quit ["Got to be good lookin' 'cause he's so hard to see."]
Abidbol has quit [zelazny.freenode.net irc.freenode.net]
ayrnieu has quit [zelazny.freenode.net irc.freenode.net]
Maddas has quit [zelazny.freenode.net irc.freenode.net]
avn has quit [zelazny.freenode.net irc.freenode.net]
lms has quit [zelazny.freenode.net irc.freenode.net]
gim has quit [zelazny.freenode.net irc.freenode.net]
Defcon7 has quit [zelazny.freenode.net irc.freenode.net]
mellum has quit [zelazny.freenode.net irc.freenode.net]
phubuh has quit [zelazny.freenode.net irc.freenode.net]
mattam has quit [zelazny.freenode.net irc.freenode.net]
drWorm_ has quit [zelazny.freenode.net irc.freenode.net]
whee has quit [zelazny.freenode.net irc.freenode.net]
jdmarshall has quit [zelazny.freenode.net irc.freenode.net]
vect has quit [zelazny.freenode.net irc.freenode.net]
simon- has quit [zelazny.freenode.net irc.freenode.net]
det has quit [zelazny.freenode.net irc.freenode.net]
drlion has quit [zelazny.freenode.net irc.freenode.net]
Riastradh has quit [zelazny.freenode.net irc.freenode.net]
mw has quit [zelazny.freenode.net irc.freenode.net]
Hadaka has quit [zelazny.freenode.net irc.freenode.net]
lam has quit [zelazny.freenode.net irc.freenode.net]
Riastradh has joined #ocaml
mw has joined #ocaml
Hadaka has joined #ocaml
lam has joined #ocaml
phubuh has joined #ocaml
ayrnieu has joined #ocaml
lms has joined #ocaml
Abidbol has joined #ocaml
jdmarshall has joined #ocaml
vect has joined #ocaml
drWorm_ has joined #ocaml
mattam has joined #ocaml
gim has joined #ocaml
whee has joined #ocaml
det has joined #ocaml
avn has joined #ocaml
drlion has joined #ocaml
simon- has joined #ocaml
Defcon7 has joined #ocaml
Maddas has joined #ocaml
mellum has joined #ocaml
_JusS_ has joined #ocaml
Herrchen has quit ["Terminated with extreme prejudice - dircproxy 1.0.5"]
Abidbol has quit [zelazny.freenode.net irc.freenode.net]
Maddas has quit [zelazny.freenode.net irc.freenode.net]
avn has quit [zelazny.freenode.net irc.freenode.net]
ayrnieu has quit [zelazny.freenode.net irc.freenode.net]
Defcon7 has quit [zelazny.freenode.net irc.freenode.net]
lms has quit [zelazny.freenode.net irc.freenode.net]
mellum has quit [zelazny.freenode.net irc.freenode.net]
gim has quit [zelazny.freenode.net irc.freenode.net]
whee has quit [zelazny.freenode.net irc.freenode.net]
phubuh has quit [zelazny.freenode.net irc.freenode.net]
drWorm_ has quit [zelazny.freenode.net irc.freenode.net]
mattam has quit [zelazny.freenode.net irc.freenode.net]
_JusS_ has quit [zelazny.freenode.net irc.freenode.net]
vect has quit [zelazny.freenode.net irc.freenode.net]
simon- has quit [zelazny.freenode.net irc.freenode.net]
jdmarshall has quit [zelazny.freenode.net irc.freenode.net]
drlion has quit [zelazny.freenode.net irc.freenode.net]
det has quit [zelazny.freenode.net irc.freenode.net]
Hadaka has quit [zelazny.freenode.net irc.freenode.net]
mw has quit [zelazny.freenode.net irc.freenode.net]
lam has quit [zelazny.freenode.net irc.freenode.net]
Riastradh has quit [zelazny.freenode.net irc.freenode.net]
lam has joined #ocaml
Hadaka has joined #ocaml
mw has joined #ocaml
Riastradh has joined #ocaml
_JusS_ has joined #ocaml
phubuh has joined #ocaml
ayrnieu has joined #ocaml
lms has joined #ocaml
Abidbol has joined #ocaml
jdmarshall has joined #ocaml
vect has joined #ocaml
drWorm_ has joined #ocaml
mattam has joined #ocaml
gim has joined #ocaml
whee has joined #ocaml
det has joined #ocaml
avn has joined #ocaml
drlion has joined #ocaml
simon- has joined #ocaml
Defcon7 has joined #ocaml
Maddas has joined #ocaml
mellum has joined #ocaml
Abidbol has quit [zelazny.freenode.net irc.freenode.net]
Maddas has quit [zelazny.freenode.net irc.freenode.net]
avn has quit [zelazny.freenode.net irc.freenode.net]
ayrnieu has quit [zelazny.freenode.net irc.freenode.net]
Defcon7 has quit [zelazny.freenode.net irc.freenode.net]
lms has quit [zelazny.freenode.net irc.freenode.net]
mellum has quit [zelazny.freenode.net irc.freenode.net]
gim has quit [zelazny.freenode.net irc.freenode.net]
whee has quit [zelazny.freenode.net irc.freenode.net]
phubuh has quit [zelazny.freenode.net irc.freenode.net]
drWorm_ has quit [zelazny.freenode.net irc.freenode.net]
mattam has quit [zelazny.freenode.net irc.freenode.net]
_JusS_ has quit [zelazny.freenode.net irc.freenode.net]
simon- has quit [zelazny.freenode.net irc.freenode.net]
vect has quit [zelazny.freenode.net irc.freenode.net]
jdmarshall has quit [zelazny.freenode.net irc.freenode.net]
drlion has quit [zelazny.freenode.net irc.freenode.net]
det has quit [zelazny.freenode.net irc.freenode.net]
lam has quit [zelazny.freenode.net irc.freenode.net]
mw has quit [zelazny.freenode.net irc.freenode.net]
Hadaka has quit [zelazny.freenode.net irc.freenode.net]
Riastradh has quit [zelazny.freenode.net irc.freenode.net]
mellum has joined #ocaml
Maddas has joined #ocaml
Defcon7 has joined #ocaml
simon- has joined #ocaml
drlion has joined #ocaml
avn has joined #ocaml
det has joined #ocaml
whee has joined #ocaml
gim has joined #ocaml
mattam has joined #ocaml
drWorm_ has joined #ocaml
vect has joined #ocaml
jdmarshall has joined #ocaml
Abidbol has joined #ocaml
lms has joined #ocaml
ayrnieu has joined #ocaml
phubuh has joined #ocaml
_JusS_ has joined #ocaml
Riastradh has joined #ocaml
mw has joined #ocaml
Hadaka has joined #ocaml
lam has joined #ocaml
Hadaka has quit [zelazny.freenode.net irc.freenode.net]
mw has quit [zelazny.freenode.net irc.freenode.net]
lam has quit [zelazny.freenode.net irc.freenode.net]
Riastradh has quit [zelazny.freenode.net irc.freenode.net]
Abidbol has quit [zelazny.freenode.net irc.freenode.net]
avn has quit [zelazny.freenode.net irc.freenode.net]
Maddas has quit [zelazny.freenode.net irc.freenode.net]
ayrnieu has quit [zelazny.freenode.net irc.freenode.net]
Defcon7 has quit [zelazny.freenode.net irc.freenode.net]
mellum has quit [zelazny.freenode.net irc.freenode.net]
lms has quit [zelazny.freenode.net irc.freenode.net]
gim has quit [zelazny.freenode.net irc.freenode.net]
whee has quit [zelazny.freenode.net irc.freenode.net]
mattam has quit [zelazny.freenode.net irc.freenode.net]
drWorm_ has quit [zelazny.freenode.net irc.freenode.net]
phubuh has quit [zelazny.freenode.net irc.freenode.net]
_JusS_ has quit [zelazny.freenode.net irc.freenode.net]
jdmarshall has quit [zelazny.freenode.net irc.freenode.net]
simon- has quit [zelazny.freenode.net irc.freenode.net]
vect has quit [zelazny.freenode.net irc.freenode.net]
det has quit [zelazny.freenode.net irc.freenode.net]
drlion has quit [zelazny.freenode.net irc.freenode.net]
mellum has joined #ocaml
Maddas has joined #ocaml
Defcon7 has joined #ocaml
simon- has joined #ocaml
drlion has joined #ocaml
avn has joined #ocaml
det has joined #ocaml
whee has joined #ocaml
gim has joined #ocaml
mattam has joined #ocaml
drWorm_ has joined #ocaml
vect has joined #ocaml
jdmarshall has joined #ocaml
Abidbol has joined #ocaml
lms has joined #ocaml
ayrnieu has joined #ocaml
phubuh has joined #ocaml
_JusS_ has joined #ocaml
Riastradh has joined #ocaml
mw has joined #ocaml
Hadaka has joined #ocaml
lam has joined #ocaml
Abidbol has quit [zelazny.freenode.net irc.freenode.net]
avn has quit [zelazny.freenode.net irc.freenode.net]
Maddas has quit [zelazny.freenode.net irc.freenode.net]
ayrnieu has quit [zelazny.freenode.net irc.freenode.net]
lms has quit [zelazny.freenode.net irc.freenode.net]
Defcon7 has quit [zelazny.freenode.net irc.freenode.net]
mellum has quit [zelazny.freenode.net irc.freenode.net]
gim has quit [zelazny.freenode.net irc.freenode.net]
mattam has quit [zelazny.freenode.net irc.freenode.net]
whee has quit [zelazny.freenode.net irc.freenode.net]
drWorm_ has quit [zelazny.freenode.net irc.freenode.net]
phubuh has quit [zelazny.freenode.net irc.freenode.net]
_JusS_ has quit [zelazny.freenode.net irc.freenode.net]
jdmarshall has quit [zelazny.freenode.net irc.freenode.net]
vect has quit [zelazny.freenode.net irc.freenode.net]
simon- has quit [zelazny.freenode.net irc.freenode.net]
drlion has quit [zelazny.freenode.net irc.freenode.net]
det has quit [zelazny.freenode.net irc.freenode.net]
Hadaka has quit [zelazny.freenode.net irc.freenode.net]
mw has quit [zelazny.freenode.net irc.freenode.net]
lam has quit [zelazny.freenode.net irc.freenode.net]
Riastradh has quit [zelazny.freenode.net irc.freenode.net]
lam has joined #ocaml
Hadaka has joined #ocaml
mw has joined #ocaml
Riastradh has joined #ocaml
_JusS_ has joined #ocaml
phubuh has joined #ocaml
ayrnieu has joined #ocaml
lms has joined #ocaml
Abidbol has joined #ocaml
jdmarshall has joined #ocaml
vect has joined #ocaml
drWorm_ has joined #ocaml
mattam has joined #ocaml
gim has joined #ocaml
whee has joined #ocaml
det has joined #ocaml
avn has joined #ocaml
drlion has joined #ocaml
simon- has joined #ocaml
Defcon7 has joined #ocaml
Maddas has joined #ocaml
mellum has joined #ocaml
Abidbol has quit [zelazny.freenode.net irc.freenode.net]
avn has quit [zelazny.freenode.net irc.freenode.net]
Maddas has quit [zelazny.freenode.net irc.freenode.net]
ayrnieu has quit [zelazny.freenode.net irc.freenode.net]
mellum has quit [zelazny.freenode.net irc.freenode.net]
Defcon7 has quit [zelazny.freenode.net irc.freenode.net]
gim has quit [zelazny.freenode.net irc.freenode.net]
lms has quit [zelazny.freenode.net irc.freenode.net]
phubuh has quit [zelazny.freenode.net irc.freenode.net]
whee has quit [zelazny.freenode.net irc.freenode.net]
mattam has quit [zelazny.freenode.net irc.freenode.net]
drWorm_ has quit [zelazny.freenode.net irc.freenode.net]
_JusS_ has quit [zelazny.freenode.net irc.freenode.net]
jdmarshall has quit [zelazny.freenode.net irc.freenode.net]
simon- has quit [zelazny.freenode.net irc.freenode.net]
vect has quit [zelazny.freenode.net irc.freenode.net]
det has quit [zelazny.freenode.net irc.freenode.net]
drlion has quit [zelazny.freenode.net irc.freenode.net]
lam has quit [zelazny.freenode.net irc.freenode.net]
mw has quit [zelazny.freenode.net irc.freenode.net]
Hadaka has quit [zelazny.freenode.net irc.freenode.net]
Riastradh has quit [zelazny.freenode.net irc.freenode.net]
mellum has joined #ocaml
Maddas has joined #ocaml
Defcon7 has joined #ocaml
simon- has joined #ocaml
drlion has joined #ocaml
avn has joined #ocaml
det has joined #ocaml
whee has joined #ocaml
gim has joined #ocaml
mattam has joined #ocaml
drWorm_ has joined #ocaml
vect has joined #ocaml
jdmarshall has joined #ocaml
Abidbol has joined #ocaml
lms has joined #ocaml
ayrnieu has joined #ocaml
phubuh has joined #ocaml
_JusS_ has joined #ocaml
Riastradh has joined #ocaml
mw has joined #ocaml
Hadaka has joined #ocaml
lam has joined #ocaml
<_JusS_>
ehya
_JusS_ is now known as _JusSx_
maihem has joined #ocaml
<drWorm_>
isn't it possible to make an "anonymous" function with more than one argument? 'function a -> a * a' is fine, but what if i want to do a * b, for instance?
<drWorm_>
specifically, i want to pass an anonymous function to Array.sort
Smerdyakov has joined #ocaml
<ayrnieu>
fun a b -> ...
<ayrnieu>
also, please don't confuse tuples with multiple arguments.
<drWorm_>
oh cool, i didn't know about fun, only function
<drWorm_>
and i know about the tuples thing, it's pointed out in every tutorial :)
Smerdyakov has quit ["bobble"]
housetier has joined #ocaml
housetier has left #ocaml []
wazze has joined #ocaml
owll has joined #ocaml
owll has quit [Client Quit]
Abidbol has quit [zelazny.freenode.net irc.freenode.net]
avn has quit [zelazny.freenode.net irc.freenode.net]
Maddas has quit [zelazny.freenode.net irc.freenode.net]
ayrnieu has quit [zelazny.freenode.net irc.freenode.net]
wazze has quit [zelazny.freenode.net irc.freenode.net]
lms has quit [zelazny.freenode.net irc.freenode.net]
Defcon7 has quit [zelazny.freenode.net irc.freenode.net]
mellum has quit [zelazny.freenode.net irc.freenode.net]
gim has quit [zelazny.freenode.net irc.freenode.net]
maihem has quit [zelazny.freenode.net irc.freenode.net]
mattam has quit [zelazny.freenode.net irc.freenode.net]
whee has quit [zelazny.freenode.net irc.freenode.net]
drWorm_ has quit [zelazny.freenode.net irc.freenode.net]
phubuh has quit [zelazny.freenode.net irc.freenode.net]
_JusSx_ has quit [zelazny.freenode.net irc.freenode.net]
jdmarshall has quit [zelazny.freenode.net irc.freenode.net]
vect has quit [zelazny.freenode.net irc.freenode.net]
simon- has quit [zelazny.freenode.net irc.freenode.net]
drlion has quit [zelazny.freenode.net irc.freenode.net]
det has quit [zelazny.freenode.net irc.freenode.net]
wazze has joined #ocaml
maihem has joined #ocaml
_JusSx_ has joined #ocaml
phubuh has joined #ocaml
ayrnieu has joined #ocaml
lms has joined #ocaml
Abidbol has joined #ocaml
jdmarshall has joined #ocaml
vect has joined #ocaml
drWorm_ has joined #ocaml
mattam has joined #ocaml
gim has joined #ocaml
whee has joined #ocaml
det has joined #ocaml
avn has joined #ocaml
drlion has joined #ocaml
simon- has joined #ocaml
Defcon7 has joined #ocaml
Maddas has joined #ocaml
mellum has joined #ocaml
Abidbol has quit [zelazny.freenode.net irc.freenode.net]
avn has quit [zelazny.freenode.net irc.freenode.net]
Maddas has quit [zelazny.freenode.net irc.freenode.net]
ayrnieu has quit [zelazny.freenode.net irc.freenode.net]
mellum has quit [zelazny.freenode.net irc.freenode.net]
Defcon7 has quit [zelazny.freenode.net irc.freenode.net]
gim has quit [zelazny.freenode.net irc.freenode.net]
lms has quit [zelazny.freenode.net irc.freenode.net]
wazze has quit [zelazny.freenode.net irc.freenode.net]
drWorm_ has quit [zelazny.freenode.net irc.freenode.net]
mattam has quit [zelazny.freenode.net irc.freenode.net]
maihem has quit [zelazny.freenode.net irc.freenode.net]
phubuh has quit [zelazny.freenode.net irc.freenode.net]
whee has quit [zelazny.freenode.net irc.freenode.net]
simon- has quit [zelazny.freenode.net irc.freenode.net]
_JusSx_ has quit [zelazny.freenode.net irc.freenode.net]
vect has quit [zelazny.freenode.net irc.freenode.net]
jdmarshall has quit [zelazny.freenode.net irc.freenode.net]
det has quit [zelazny.freenode.net irc.freenode.net]
drlion has quit [zelazny.freenode.net irc.freenode.net]
Hadaka has quit [zelazny.freenode.net irc.freenode.net]
mw has quit [zelazny.freenode.net irc.freenode.net]
lam has quit [zelazny.freenode.net irc.freenode.net]
Riastradh has quit [zelazny.freenode.net irc.freenode.net]
mellum has joined #ocaml
Maddas has joined #ocaml
Defcon7 has joined #ocaml
simon- has joined #ocaml
drlion has joined #ocaml
avn has joined #ocaml
det has joined #ocaml
whee has joined #ocaml
gim has joined #ocaml
mattam has joined #ocaml
drWorm_ has joined #ocaml
vect has joined #ocaml
jdmarshall has joined #ocaml
Abidbol has joined #ocaml
lms has joined #ocaml
ayrnieu has joined #ocaml
phubuh has joined #ocaml
_JusSx_ has joined #ocaml
maihem has joined #ocaml
wazze has joined #ocaml
lam has joined #ocaml
Hadaka has joined #ocaml
mw has joined #ocaml
Riastradh has joined #ocaml
maihem has quit ["Client exiting"]
Smerdyakov has joined #ocaml
Smerdyakov has quit ["haha"]
mattam_ has joined #ocaml
mattam has quit [Read error: 110 (Connection timed out)]
<drWorm_>
is there any way to "include" other ml files, something remotely like #include in C?
<phubuh>
I think you can use #use, but I've never found any use for it myself
<phubuh>
it's almost always better to use the module system
<drWorm_>
ah, that's maybe an idea
<phubuh>
a module is implicitly created for every file, named after the file name sans extension with the first letter uppercased; foo.ml creates Foo, etc. to use a symbol from another module, just do ModuleName.symbol, and make sure to link it into your executable
<drWorm_>
cool, thanks
<_JusSx_>
k
cjohnson has joined #ocaml
codeburnt has joined #ocaml
Abidbol has quit [Read error: 104 (Connection reset by peer)]
shawn has joined #ocaml
Smerdyakov has joined #ocaml
dax has joined #ocaml
_JusSx__ has joined #ocaml
_JusSx_ has quit [Read error: 54 (Connection reset by peer)]
ayrnieu_ has joined #ocaml
ayrnieu has quit [Read error: 104 (Connection reset by peer)]
ayrnieu_ is now known as ayrnieu
housetier has joined #ocaml
_JusSx__ has quit ["BitchX: all the things phone and hop won't include"]
Smerdyakov has quit ["allow to begin the eating"]
housetier has quit ["#breaks @ irc.highteq.de"]
ayrnieu has quit ["Lost terminal"]
drWorm_ is now known as drWorm
<drWorm>
does ocaml pass arguments as references? so there's no performace loss in passing potentially huge data structures many times (as in recursion)?
<codeburnt>
take the reference of your argument?
<codeburnt>
ref object
<drWorm>
and without ref it's pass-by-value?
jdmarshall has quit ["ChatZilla 0.9.35 [Mozilla rv:1.5/20031007]"]
<codeburnt>
no
<codeburnt>
only it its a primitive
<codeburnt>
everything is a reference
<drWorm>
ah, i see
<codeburnt>
do u like ocaml
<drWorm>
very much :)
<codeburnt>
me 2
<drWorm>
although i'm pretty new to it yet
<codeburnt>
the only problem with it is you can't mix compiled and interpreter code
<Riastradh>
codeburnt, what do you mean by that?
<drWorm>
hm, doesn't sound so important :)
<drWorm>
i was a little set back by not having function overloading, but i guess it's not needed
<codeburnt>
you can't afaik call native compiled functions from the bytecode interpreter
<phubuh>
not having function overloading really blows
<Riastradh>
Not having _typeclasses_ really blows.
<phubuh>
yes
<drWorm>
typeclasses?
<Riastradh>
Actually, you don't even need them. All you need is camlp4, or manual typeclass transformation.
<phubuh>
could type classes or something equivalent be implemented conveniently with camlp4?
<drWorm>
what's camlp4 anyway? i don't have it
<Riastradh>
The Caml Pre-Processor & Pretty-Printer.
<drWorm>
oh
<drWorm>
the thing that takes care of #use etc?
<codeburnt>
like cmucl, or bigloo you can mix native compiled and interpreted code but ocaml you can't yet
<codeburnt>
you have to either have your whole program native compiled or else the whole thing bytecoded
<phubuh>
the fact that ocamlcp is entirely broken is also somewhat annoying
<Riastradh>
ocamlcp?
<drWorm>
the profiling compiler :)
<phubuh>
the profiling bytecode compiler
<phubuh>
what?! I just tried it again, and it appears to work just fine
<phubuh>
that's, uhm, good.
<phubuh>
oh, profiling bytecode appears to be rather useless in any case
<phubuh>
Profiling with ocamlprof only records execution counts, not the actual time spent into each function. There is currently no way to perform time profiling on bytecode programs generated by ocamlc.
<phubuh>
that wouldn't be much of a problem, if ocamlopt worked, since then I could use gprof