... Do you have the extlib .cmx files installed? They are required before the compiler will consider inlining across modules. Rich. -- Richard Jones Red Hat...
Hi all, I am working though some example code from ocaml for scientists. I have an mli and accompanying ml file which I am compiling thus: ocamlc -c...
Hi ! ( Replying to myself. ) ... The answer is yes : http://fabrice.marchant.free.fr/code/circul.ml.html So we can generate circular structures without any...
... Sounds like you've started the intrange.ml file with module IntRange : INTRANGE = struct ... which is unnecessary (the compilation unit intrange.ml...
Looks like my email didn't make it to the ML... Maybe yahoo's groups didn't like the CCs, I'm trying again without them (hopefully they already received the ...
... Good news - we changed this at the last minute in the Fedora packaging guidelines so that .cmx files should normally be installed, so as to allow...
Thanks, it worked. Looks like extlib doesn't install the .cmx files. By the way, although extlib v1.5 was released in Feb 2006, it seems godi's version is...
Can someone explain these behaviors (Hashtbl.hash)? # let v = Array.init 42 (fun i -> i);; val v : int array = [|0; 1; 2; 3; 4; 5; 6; 7; 8; 9; 10; 11; 12; 13;...
Am Mon, 2 Jul 2007 01:40:53 +0200 ... not suprised. it's "only" a default hash function, so it may produce collisions. Very common. Try it with a self made...
... Well, it's more than "it may" here. I'm changing the value, swapping elements... and I always get the exact same value. As for implementing my own hash...
... Hash functions terminate after a constant amount of traversing. In this case, the built-in hash function is terminating before it reaches the part of your ...
... Thanks, But I still have a strange (although different one) behavior. My code looks like that: module Myhash = Hashtbl.Make(struct type t = C.t let hash = ...
... You probably want to put hash and equal into C and write: module Myhash = Hashtbl.Make(C) ... If Std.dump is a function from the ExtLib library, I...
Hello, ... Unfortunately undo (or backtracking) in my context does not necessarily mean moving back one step. I can (and most often will) move back several ...
... Yes, but it's just a test for the moment, I'm planning on doing that once I know wether or not it is really helping the performance (it's hard to predict...
William, ... As usual an excellent example of functional programming from you. Is this a "standard" functional data structure/technique? In respect to its...
How would I resolve this error under Cygwin? /usr/local/lib/ocaml/unix.cma: loaded Cannot load required shared library dllunix. Reason: dllunix.so: dynamic...
Hi ! *) type circular_list = Circular_list of (unit -> circular_list) let next cl = let Circular_list ret = cl () in ret let rec c2 = fun () -> Circular_list...
Hello Fabrice, Le lun 02 jui 2007 09:43:08 CEST, ... This is more or less the same problem as in # 1::[] == 1::[];; - : bool = false Just replace :: by...
Hi Virgile ! I'm very happy of your understandable explanations because I remained completely stuck ! (second test) > > next (next c2) == c2 (* true *) ... ...
Hi Virgile ! I'm very happy of your understandable explanations because I remained completely stuck ! (second test) > > next (next c2) == c2 (* true *) ... ...
... [...thread snipped...] ... I'm very confused about what you want to achieve. Do you mean there are independent operations that can be backtracked ...
Hello, is there some documentation or code around for camomile-newbies? TIA, Oliver...
Oliver Bandel
oliver@...
Jul 3, 2007 10:52 am
8180
Hello Fabrice, Le lun 02 jui 2007 16:21:05 CEST, ... In fact, the point is not that these nodes are bound to a variable in the source code, but that ocaml...
Hello Frédéric, ... No, I just mean that each epoch results in a change. I can backtrack to any epoch but I need not undo the changes all at once. I must...
Hello Virgile ! I'm grateful you wrote this code and solve the problem. I've experimented with === comparaison on iterated next : works fine. I didn't imagine...
I haven't profiled in OCaml yet so forgive me the simple question: Does the OCaml profiler report consing and garbage collection statistics? Thanks, Joel -- ...
... It doesn't give you a breakdown of allocation by each function, as gprof gives a breakdown of time spent in each function, but you can get some simple ...