mjonsson has quit [Read error: Connection reset by peer]
Tianon has quit [Ping timeout: 248 seconds]
jld has quit [Ping timeout: 264 seconds]
Tianon has joined #ocaml
Tianon has quit [Changing host]
Tianon has joined #ocaml
jld has joined #ocaml
thelema_ has joined #ocaml
thelema has quit [Read error: Connection reset by peer]
chambart has quit [Ping timeout: 252 seconds]
chambart has joined #ocaml
philtor has joined #ocaml
elehack has quit [Quit: Farewell, programs.]
philtor has quit [Ping timeout: 240 seconds]
vivanov has joined #ocaml
malouin has joined #ocaml
<malouin>
any ideas why ocamlbuild foo.p.native ; ./foo.p.native ; gprof foo.p.native ; would be giving zeros for all timing values?
<adrien>
if I remember correctly a conversation that happened here not so long ago, ocamlbuild doesn't support profiling of native code executables
<malouin>
I am getting gprof to give me number of calls, just not the times.
<adrien>
o, sorry, it's the opposite: it's the bytecode profiling that isn't handled
<malouin>
ah, that makes sense.
<adrien>
which platform?
<malouin>
os x / macports
<adrien>
I can't find the reference anymore but I remember well that several people had issues with it and it's an issue with gprof on mac os x as far as I know
<malouin>
that sounds totally plausible.
<malouin>
adrien: are you in pacific time zone?
<adrien>
no, Europe/Paris, I simply woke up quite early and couldn't get back to sleep
<malouin>
ah I see :)
hto has quit [Ping timeout: 240 seconds]
hto has joined #ocaml
chegibari_ has joined #ocaml
chegibari_ has quit [Remote host closed the connection]
ygrek has joined #ocaml
yezariaely has joined #ocaml
yezariaely has left #ocaml []
chegibari_ has joined #ocaml
jderque has joined #ocaml
hto has quit [Ping timeout: 240 seconds]
munga has joined #ocaml
ygrek has quit [Remote host closed the connection]
dnolen has quit [Quit: dnolen]
edwin has joined #ocaml
__mattam__ is now known as mattam
boscop has quit [Ping timeout: 246 seconds]
boscop has joined #ocaml
ygrek has joined #ocaml
Snark has joined #ocaml
ygrek has quit [Ping timeout: 246 seconds]
lpereira has joined #ocaml
jamii has joined #ocaml
hto has joined #ocaml
Yoric has joined #ocaml
chegibari has joined #ocaml
<chegibari>
Hello. In the book "Developing application with Objective Caml", specifically in the chapter about the parsing tools, there is a line of code of this kind: let op_ar = ['-' '+' '*' '%' '/']
<chegibari>
is it a typo?
<chegibari>
I assume that should be a list but the semicolons are missing
<chegibari>
the ocaml interpreter attempts to apply '-' to '+'
<chegibari>
Am I correct?
<mfp>
seems so
<zorun>
yeah, this looks like a list
ikaros has joined #ocaml
boscop has quit [Ping timeout: 246 seconds]
edwin has quit [Ping timeout: 246 seconds]
boscop has joined #ocaml
edwin has joined #ocaml
pdhborges has joined #ocaml
ulfdoz has quit [Quit: kernel-upgrade]
chegibari has quit [Read error: Connection reset by peer]
rwmjones has quit [Quit: Terminated with extreme prejudice - dircproxy 1.2.0]
munga has quit [Quit: Ex-Chat]
ulfdoz has joined #ocaml
rwmjones has joined #ocaml
jamii has quit [Read error: Connection reset by peer]
ygrek has joined #ocaml
lopex has joined #ocaml
jamii has joined #ocaml
TaXules has joined #ocaml
chegibari_ is now known as chegibari
ygrek has quit [Ping timeout: 246 seconds]
<chegibari>
Can I package more than a module in a library?
<chegibari>
I mean, without putting them all in the same file
notk0 has joined #ocaml
<notk0>
hello, I have a type of the form type 'a t= (id * 'a) list;
<notk0>
and I have a error that is something like
<notk0>
expression has type a t but was expected of (id * t) list
<chegibari>
don't you have to use some bracket?
<notk0>
chegibari, what kind of bracket ?
ezyang has left #ocaml []
<chegibari>
notk0, no sorry, I checked in the book and you need no brackets
<notk0>
chegibari, what am I supposed to do?
<notk0>
help
notk0 is now known as yann-regis-giana
<yann-regis-giana>
I hate ocaml
yann-regis-giana is now known as notk0
<chegibari>
Sorry, nothing comes to my mind, atm
<Yoric>
notk0: to debug OCaml type errors, the general idea is to progressively refine the error message by adding type annotations .
<chegibari>
but the answer to *my* question is: use ocamlc -a
hto has quit [Ping timeout: 252 seconds]
chegibari has quit [Ping timeout: 250 seconds]
notk0 has quit [Quit: bye bye]
chegibari has joined #ocaml
iris1 has quit [Quit: iris1]
jderque has quit [Quit: leaving]
boscop has quit [Ping timeout: 246 seconds]
thelema_ has quit [Read error: Connection reset by peer]
thelema has joined #ocaml
pdhborges has quit [Quit: Leaving.]
boscop has joined #ocaml
<chegibari>
Can #use take a variable as argument? or is it just a pre-processing directive?
<zorun>
I don't think it is even a pre-processing directive, is it even working in a source file?
<zorun>
I believe it is a top-level specific instruction
<thelema>
chegibari: #use is not a pre-processing directive
<thelema>
chegibari: and no, it only takes a string as argument
pdhborges has joined #ocaml
Associat0r has joined #ocaml
Modius_ has joined #ocaml
Modius has quit [Ping timeout: 250 seconds]
fenard has joined #ocaml
<fenard>
hi
<fenard>
gildor, I'm trying to build a library using oasis; the library has C code and I'd like to specify an "include" option
<fenard>
any hint on how I could do this ? CCOpt does not seems to do the trick
<fenard>
thanks in advance :)
jamii has quit [Ping timeout: 246 seconds]
<pdhborges>
fenard: I think gildor is a bot
<pdhborges>
fenard: you like to add an in clude dir to the include path correct?