... OK, it looks like it is fixed in the latest version now. The grammar description on the web site is still wrong. The idea is that [ and < or [ and > should...
I have this error, "The implementation toplevel/camomile.ml does not match the interface toplevel/camomile.cmi: Module type declarations do not match: ...(long...
Yamagata Yoriyuki
yoriyuki@...
Jan 13, 2004 5:34 pm
1537
I'm trying to call an already-written C function from my OCaml code. I've written a wrapper for the C function (in C) that calls CAMLparam on the incoming ...
... May I ask you: was it you compiling camomile.cmi from camomile.ml or camomile.mli? I get such errors when either my .mlis have changed and I forgot to...
Hello, I am using findlib to install packages like cryptokit or gz to local installation dir, but when I try to load code that uses them in the interpreter the...
... you should look to see what is in your ld.conf, and if the repertory where the dll.so are is not there, then add it (I'm talking of the ld.conf of ocaml,...
... the entry is there on my debian installation. Please make a bug report (to the debian package) it seem strange. (by the way, the intended location for the...
... Yes, I saw the stublibs entry but it still doesn't seem to work with findlib! Let me try again later and include some output... I'm a little busy ATM ...
Thanks I think I figured it out. BTW, does ocamlbrowser have a configuration file? The packages in /usr/local/lib... does not seem to be read by default. It's...
... No, but it recognize the -I options. By the way, to add a configuration file can be an interesting exercise for a beginner, and I believe that the ocaml...
Hi, I am a beginner and want to know how to install Chameleon 1.3 on my RH Linux 9.0 System. Everytime I try installing the same, I get the following problem: ...
... Unfortunately lablgtk2 has gone through various versions, without much in the way of source code backwards compatibility between these versions. It looks...
Hi - i work for a consultancy that is currently looking for some expertise in ocaml programming (probably someone available for 'hire' from another consultancy...
Hello: I just start to learn lablgtk2. I found it is hard to understand, seems lacks of docs. The first thing i want to have a try is to get current toplevel ...
[ You might want to ask this question on the lablgtk list, which is specially for these sorts of queries - Rich. ] ... Yes, it is hard. But after a while...
... Well, You have to find the Gdk.window corresponding to your window, and then you have it... the size is tricky : you seem to have to find the Gdk.window of...
... 1) use glade-2 and lablgladecc2 for the boring part 2) browse classes and functions with ocamlbrowser -I +lablgtk2 & 3) Study the examples by Jacques...
Well, here are a few suggestions : Version1 : without any use of orderings (* get_by0 is just an auxiliary tail-recursive function) let rec get_by0=function ...
... Even in native code? ... Well, to do it in a tail recursive way is basically equivalent to do it in an imperative way (the accumulators being the mutable...
Christophe TROESTLER
Christophe.Troestler@...
Jan 24, 2004 10:48 pm
1559
... Here's another way, using fold_left: # let group_by ls = let ls' = List.fold_left (fun acc (day1,x1) -> match acc with [] -> [day1,[x1]] ... if day1=day2 ...
... It's in a mod_caml CGI script, so no - bytecode only. Rich. -- Richard Jones. http://www.annexia.org/ http://freshmeat.net/users/rwmj Merjis Ltd....
... Thanks ... I like that version. It's very easy to understand. Rich. -- Richard Jones. http://www.annexia.org/ http://freshmeat.net/users/rwmj Merjis Ltd....
... Sure. Another fun thing to try if you're bored is to see that a pair of mutually tail-recursive functions can execute until your computer dies: let rec a...
I want to take a list and return another list which has the same elements but jumbled into a random order. The ordering doesn't need to be cryptographically...
... I can just think of a small improvement: * create the array * pick elements randomly to form a list * each time you've picked an element, replace it with ...