<bluestorm>
here is a quick&dirty patch to the upstreamMakefile.in
<bluestorm>
(now that I think of it, I patched against the SVN, while macports must be using the stable release, but I suppose that don't make much of a difference)
_zack has quit ["Leaving."]
<bluestorm>
(recipe : replace every "ocamlc" in the file with a global variable set to "ocamlc dynlink.cma")
<travisbrady>
yeah, i saw that, but I've already got the ocamlc dynlink.cma in the spot where it fails and it does not fix it
<bluestorm>
well
<bluestorm>
did you add dynlink.cma _before_ the camlp4 object file ?
<travisbrady>
oh my it seems to have worked
<travisbrady>
ahh, that is what did it i guess
<travisbrady>
that makes sense
<travisbrady>
thanks for your hepl
schme has quit [Read error: 60 (Operation timed out)]
<travisbrady>
s/hepl/help
<bluestorm>
the real help would be getting a not-so-dirty fix upstream
<bluestorm>
you should try to mail rwjones to report the problem
<travisbrady>
Ok, I'll send him a report
<travisbrady>
dang, now getting preprocessor errors
<travisbrady>
shoot
<travisbrady>
"Parse error: ":" expected after [patt] (in [patt_field])"
<orbitz>
do you guys tend to write programs with ;;? I find it really ugly and just use let () = main .. when I want to make a program
* julm
does not use ;;, never;;
<orbitz>
ever;;
schme has joined #ocaml
travisbrady has quit []
NYNix has joined #ocaml
eldragon has joined #ocaml
Amorphous has quit [Read error: 110 (Connection timed out)]
Amorphous has joined #ocaml
seanmcl has joined #ocaml
caligula_ has joined #ocaml
caligula__ has quit [Connection reset by peer]
struktured has quit [Remote closed the connection]
kaustuv_ has joined #ocaml
mlh has quit ["new kernel"]
kaustuv_` has quit [Read error: 110 (Connection timed out)]
mlh has joined #ocaml
travisbrady has joined #ocaml
travisbrady has quit []
travisbrady has joined #ocaml
M| has quit [Remote closed the connection]
M| has joined #ocaml
M| has quit [Remote closed the connection]
M| has joined #ocaml
BigJ2 has joined #ocaml
travisbrady_ has joined #ocaml
seanmcl has quit []
travisbrady has quit [Read error: 110 (Connection timed out)]
travisbrady_ is now known as travisbrady
tmaedaZ has joined #ocaml
tmaedaZ is now known as tmaeda
<thelema>
orbitz: I sometimes use ;; despite their ugliness as they do limit the scope of various syntax mistakes (extra ; at end of let)
<thelema>
actually, I think most of these problems relate to the lack of any close for let .. in .. at the toplevel
<thelema>
so using ;; gives better error messages
<orbitz>
ah
<thelema>
let foo = x1; x2; let bar = y1; y2 let baz = z1
<thelema>
Do you see the syntax error? Would you know where the real fix is if each of foo, bar, baz were a screenful in size?
<orbitz>
not on one single line, no. I probably would if it were properly idnented and all
<hcarty>
thelema: This is not a good excuse - but an editor's automatic indentation helps a lot with that sort of problem.
<thelema>
that's the thing - automatic indenting only helps if you haven't deleted x3 off the end of foo.
<hcarty>
;; can hide other errors
<hcarty>
thelema: That is very true
<thelema>
what can ;; hide?
<hcarty>
thelema: Incomplete matches I think? I don't remember what the specific error was, but I ran in to it a few times when I was starting out with OCaml and using ;; after all of my functions.
<thelema>
hmmm, curious
travisbrady has quit [Read error: 104 (Connection reset by peer)]
travisbrady has joined #ocaml
travisbrady has quit [Client Quit]
travisbrady has joined #ocaml
travisbrady has quit []
ulfdoz has joined #ocaml
M| has quit [Remote closed the connection]
bluestorm has quit [Read error: 113 (No route to host)]
deavid has quit [Remote closed the connection]
ulfdoz has quit [Read error: 110 (Connection timed out)]
mishok13 has joined #ocaml
julm has quit [Read error: 54 (Connection reset by peer)]
* thelema
does a final transfer from the CVS to his git trees and prepares to make a git mirror of the SVN repo
<thelema>
this will take a while....
<julm>
thelema: for me git-ing the SVN is faster than git-ing the CVS =)
<thelema>
yes, it took forever to get the first git checkout of the CVS
<sgnb>
the task is more complex with CVS, since one has to first merge commits
<sgnb>
(commits are file-based on CVS)
<sgnb>
converting svn to git is pretty straightforward
tmaedaZ is now known as tmaeda
Snark has joined #ocaml
ygrek has joined #ocaml
julm has quit [Read error: 60 (Operation timed out)]
<Camarade_Tux>
anyone feeling like trying ocaml-gir? :)
jimmyb2187 has left #ocaml []
<Camarade_Tux>
the two libraries that are currently known to work are dbus-glib and webkit-gtk (>=1.11), you'll need all development files for them of course
jimmyb2187 has joined #ocaml
_unK has joined #ocaml
<Camarade_Tux>
well, if someone feels like trying, see http://git.ocamlcore.org/cgi-bin/gitweb.cgi?p=ocaml-gir/ocaml-gir.git (it has a tarball under "tree" -> "snapshot"), use is: "cd ocaml-gir && ./me.sh" (maybe edit and uncomment one of webkit or dbus), it should generate folders in "ocaml-gir/bindings-directory", you can have a look at the "examples" folder too, it has a test for dbus (run "dbus-monitor --session" in another terminal and run the test program w
munga has joined #ocaml
julm has joined #ocaml
seanmcl has joined #ocaml
smimou has joined #ocaml
ygrek has quit [Remote closed the connection]
bluestorm has joined #ocaml
bluestorm has quit [Client Quit]
<julm>
nice, the git-ed ./configure from the SVN does not fail as the git-ed one from CVS due to CVS' vendor branches.
bohanlon has joined #ocaml
tmaeda0 has joined #ocaml
tmaeda has quit [Read error: 145 (Connection timed out)]
tmaeda0 is now known as tmaedaZ
tmaedaZ is now known as tmaeda0
munga has quit [Read error: 148 (No route to host)]
verte has quit ["~~~ Crash in JIT!"]
munga has joined #ocaml
robocop has joined #ocaml
<robocop>
hello
<robocop>
do you know if a project of a mini ocaml interpreter exist ?
<robocop>
like min-caml, but without compilation
<robocop>
(in ocaml)
willy_ has joined #ocaml
<willy_>
bonjour
<willy_>
j'ai un petit problême à faire, je doit calculer la distance euclidienne entre deux points
<willy_>
ça correspondrais à racine carrée (point1^2 - point2^2)
<willy_>
si je ne me trompe pas
<robocop>
oui willy_
<robocop>
tu utilises pythagore
_zack has joined #ocaml
<willy_>
c'est ça
<willy_>
en ocaml ça s'écrit comme ça?
<robocop>
willy_: there is a french channel about ocaml, here : #ocaml-fr
<kaustuv_`>
robocop: have you checked andrej's "programming zoo" page?