gildor changed the topic of #ocaml to: Discussions about the OCaml programming language | http://caml.inria.fr/ | OCaml 3.12.0 http://bit.ly/aNZBUp
ulfdoz_ has joined #ocaml
ulfdoz has quit [Ping timeout: 276 seconds]
ulfdoz_ is now known as ulfdoz
dnolen has joined #ocaml
lopex has quit []
mjonsson has joined #ocaml
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?
<pdhborges> I dod it like this
<pdhborges> CCOpt: -Isrc
<fenard> hi Pedro
<fenard> well, I just tried this
<fenard> but with a space
<fenard> well, it does not work here
<pdhborges> could you paste your oasis file?
<fenard> yes
<pdhborges> what error do you get?
<fenard> lib/libssh2_stubs_lwt.c:16:22: error: lwt_unix.h: No such file or directory
<fenard> and in the terminal oasis still calls
<fenard> ocamlfind ocamlc -c lib/libssh2_stubs_lwt.c
<pdhborges> doest that file exist?
<pdhborges> a nvm
<fenard> ls -l /opt/godi-3.12/lib/ocaml/site-lib/lwt/lwt_unix.h
<fenard> -rw-r--r-- 1 hypios admin 5333 Mar 26 09:00 /opt/godi-3.12/lib/ocaml/site-lib/lwt/lwt_unix.h
<pdhborges> works here
<pdhborges> wierd
lopex has quit []
<pdhborges> I'm using oasis 0.2 btw
<pdhborges> ocamlc is invoked correcly
<pdhborges> ocamlfind ocamlc -ccopt -Isrc -ccopt -Wall -ccopt -W -ccopt -Wextra -ccopt -O2 -c src/stubs-zmq.c
<pdhborges> did you regenerate the setup files after changing the oasis file?
<fenard> yes I did
<fenard> ok perhaps I'm not using the latest oasis
<fenard> I'll upgrade later today
<fenard> thanks for the help!
<pdhborges> np
fenard___ has joined #ocaml
fenard has quit [Read error: Connection reset by peer]
fenard___ is now known as fenard
fenard___ has joined #ocaml
fenard has quit [Read error: Connection reset by peer]
fenard___ is now known as fenard
pdhborges has quit [Quit: Leaving.]
oriba has joined #ocaml
oriba has left #ocaml []
fenard has left #ocaml []
Associat0r has quit [Quit: Associat0r]
jderque has joined #ocaml
ymasory has quit [Ping timeout: 248 seconds]
eye-scuzzy has quit [Quit: leaving]
eye-scuzzy has joined #ocaml
ymasory has joined #ocaml
philtor has joined #ocaml
chegibari has quit [Remote host closed the connection]
Cyanure has joined #ocaml
mjonsson has joined #ocaml
chegibari has joined #ocaml
lpereira has quit [Quit: Leaving.]
chegibari has quit [Ping timeout: 260 seconds]
Cyanure has quit [Ping timeout: 276 seconds]
chegibari has joined #ocaml
hto has joined #ocaml
ski has quit [Ping timeout: 260 seconds]
<zorun> are there whizzytex guru there?
<zorun> I have trouble getting it to work with minted (syntactic coloration in LaTeX)
ski has joined #ocaml
cthuluh has quit [Quit: leaving]
hto has quit [Ping timeout: 260 seconds]
ygrek has joined #ocaml
lopex has joined #ocaml
ygrek has quit [Remote host closed the connection]
Smerdyakov has joined #ocaml
lopex has quit [Ping timeout: 250 seconds]
ygrek has joined #ocaml
pdhborges has joined #ocaml
cthuluh has joined #ocaml
lopex has joined #ocaml
dnolen has joined #ocaml
avsm has joined #ocaml
avsm has quit [Client Quit]
avsm has joined #ocaml
hto has joined #ocaml
Tobu has quit [Remote host closed the connection]
Tobu has joined #ocaml
avsm has quit [Quit: Leaving.]
er has joined #ocaml
yezariaely has joined #ocaml
dnolen has quit [Read error: Connection reset by peer]
dnolen has joined #ocaml
Smerdyakov has quit [Quit: Leaving]
Snark has quit [Quit: Ex-Chat]
ymasory has quit [Ping timeout: 248 seconds]
pdhborges has quit [Quit: Leaving.]
ymasory has joined #ocaml
bzzbzz_ has quit [Quit: leaving]
vivanov has quit [Ping timeout: 240 seconds]
avsm has joined #ocaml
smerz has joined #ocaml
Modius_ has quit [Quit: "Object-oriented design" is an oxymoron]
Modius has joined #ocaml
impy has quit [Read error: Operation timed out]
Cyanure has joined #ocaml
ymasory has quit [Ping timeout: 248 seconds]
impy has joined #ocaml
avsm has quit [Quit: Leaving.]
Cyanure has quit [Remote host closed the connection]
pdhborges has joined #ocaml
pdhborges has quit [Client Quit]
pdhborges has joined #ocaml
ftrvxmtrx has joined #ocaml
yezariaely has left #ocaml []
Tobu has quit [Ping timeout: 248 seconds]
ymasory has joined #ocaml
bzzbzz has joined #ocaml
Tobu has joined #ocaml
mjonsson has quit [Remote host closed the connection]
pdhborges has quit [Quit: Leaving.]
mjonsson has joined #ocaml
impy has quit [Quit: impy]
impy has joined #ocaml
ftrvxmtrx has quit [Quit: This computer has gone to sleep]
ftrvxmtrx has joined #ocaml
impy has quit [Quit: impy]
impy has joined #ocaml
ygrek has quit [Ping timeout: 246 seconds]
Tobu has quit [Ping timeout: 260 seconds]
Tobu has joined #ocaml
ymasory has quit [Ping timeout: 252 seconds]
edwin has quit [Remote host closed the connection]
ymasory has joined #ocaml
pdhborges has joined #ocaml
ymasory has quit [Ping timeout: 246 seconds]
chegibari has quit [Ping timeout: 252 seconds]
Yoric has quit [Quit: Leaving.]
jderque has quit [Quit: leaving]
ikaros has quit [Quit: Ex-Chat]
pdhborges has left #ocaml []
fraggle_ has quit [Ping timeout: 248 seconds]
fraggle_ has joined #ocaml
Amorphous has quit [Ping timeout: 246 seconds]
Amorphous has joined #ocaml
joewilliams is now known as joewilliams_away
<er> has anyone tried to use camlp5 to EXTEND Printf.format?
<thelema> er: in what way?
<er> thelema: hi!