<arneis>
anyone familiar with the differences between camlp4/camlp4o? I was under the impression that camlp4o is the same but with some modules preloaded
<arneis>
but this gives me a binary output: camlp4 pa_o.cmo pa_op.cmo pr_dump.cmo -I /usr/lib/ocaml/js_of_ocaml/ pa_js.cmo test.ml
<arneis>
.. and this gives me text: camlp4o -I /usr/lib/ocaml/js_of_ocaml/ pa_js.cmo test.ml
madroach has quit [Ping timeout: 244 seconds]
madroach has joined #ocaml
mrm has quit [Ping timeout: 256 seconds]
<hnrgrgr>
arneis: I believe camlp4o use 'pr_a.cmo' instead of 'pr_dump.cmo'.
<hnrgrgr>
the latter always dump the raw ast, while the former try to pretty-print the AST when stdout is a terminal
<arneis>
thanks.. I just figured that out too
<arneis>
I'm trying to get code completion/error highlighting working in OcaIDE with js_of_ocaml, not having much luck
<ng__>
Discover the rules of construction of the structure and write a recursive function that given an integer parameter n, power of 2 belonging to the interval [1. . . 100], this pattern such that reproduces the highest number of asterisks is in line n.
<ng__>
;D
<wmeyer>
maybe tomorrow, i will be more handy.
<ng__>
ok
<ng__>
no problem
<ng__>
;D
<wmeyer>
today maybe
<ng__>
yes
<ng__>
;D
<ng__>
thanks
<wmeyer>
yes, it's 4:31
<wmeyer>
thx
<ng__>
exactly
<ng__>
.D
<ng__>
thanks wmeyer
<wmeyer>
ng__: not at all
<ng__>
:D
<_habnabit>
ng__, please keep it on channel
<ng__>
ok
<_habnabit>
i have no idea what that image is supposed to show and your code is basically unreadable to me
chambart has quit [Read error: Connection reset by peer]
<ng__>
like that?
<_habnabit>
no, if anything, that's worse. what editor are you using?
<ng__>
i use gedit
<wmeyer>
ng__: use ocaml toplevel and paste it to gedit
<ng__>
ok
<wmeyer>
ng__: once you have it pretty printed it should be easier
<wmeyer>
and it would be really better if you have been using something better than gedit, that does for you this automatically: emacs, vim or even eclipse
<ng__>
ok...i will try emacs
<wmeyer>
ng__: you might spend too much time on getting familiar with Emacs
<wmeyer>
ng__: is it a short stint with OCaml or you are willing to learn it?
<wmeyer>
if you are thinking you are willing to learn it - go for Emacs and tuareg mode.
ftrvxmtrx has joined #ocaml
<ng__>
ok wmeyer ... but, after you can help me with that code ?
<wmeyer>
ng__: if not then knowledge how use vim or emacs is great, but you might not on time with the core problem: getting this done.
<wmeyer>
ng__: can we talk about it tomorrow? there are other people that might help you here, if you specify the problem. Currently I am thinking to go to bed
<wmeyer>
ng__: first of all, you need to specify the problem
<wmeyer>
state it
<ng__>
ok -.-
<wmeyer>
yourself
<wmeyer>
how do you understand it
<wmeyer>
what you need to do
<wmeyer>
write pseudocode in any other language than OCaml that you understand
<wmeyer>
then it will be easier for anybody here to help you, and might be very likely you will complete it yourself
<ng__>
ok wmeyer
<ng__>
:D
<ng__>
thanks
tufisi has quit [Ping timeout: 252 seconds]
tac has joined #ocaml
ng__ has quit [Quit: Leaving]
GnomeStoleMyBike has quit [Ping timeout: 260 seconds]
chambart has joined #ocaml
xavierm02 has quit [Quit: Leaving]
djcoin has quit [Quit: WeeChat 0.3.7]
caligula__ has joined #ocaml
ivan\ has quit [Ping timeout: 245 seconds]
caligula_ has quit [Ping timeout: 240 seconds]
ivan\ has joined #ocaml
tlockney has joined #ocaml
tlockney has quit [Excess Flood]
tac has quit [Ping timeout: 245 seconds]
tlockney has joined #ocaml
chambart has quit [Ping timeout: 246 seconds]
chambart has joined #ocaml
chambart has quit [Ping timeout: 246 seconds]
chambart has joined #ocaml
avsm has joined #ocaml
avsm has quit [Ping timeout: 255 seconds]
<arneis>
anyone using typerex completion? Does it work with external modules?