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 -- ...
Hello, After much effort in implementing the imperative K-BUF data structure, that very year I came across Conchon and Filliatre's implementation of their UF...
I apologize if this sounds like a silly question but is there a unix package on Windows? I tried building my project and OUnit complains that it needs Unix. ...
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;...
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 ! It is possible to define a fixed sized loop structure like this one : *) type loop = Node of loop (* No content at node : doesn't matter here. *) let...
... Hash: SHA1 Hi, The list function map processes one list. Map2 processes two lists simultaneously. What do you do if you want to be able to process an ...
Okay, everything works fine now. Unfortunatly, I can't say why. :( I've done an ocamlbuild -clean, but I am not even sure this is the cause. As I am "learning"...
Hi ! Jean-Christophe Filliātre hashset module : http://www.lri.fr/~filliatr/ftp/ocaml/ds provides, for a set of 'a : type 'a t and vals : create, clear, add,...
Hello, It's probably a stupid question, but I never used ocamldoc before... I'm trying to generate the documentation of the compiler (especially asmcomp/*),...
Hello, I am developing a kernel for first order logic processing. I now represent literals such as "f(g(a),b)" as flat-terms. Such flat-terms are (basically)...
I'm still looking for some examples on the internet, but maybe someone here will give me the answer faster: I'm trying to use the OptParser from extlib: open...
hi there, ok, i'm really starting to getting frustrated with ocaml's module system. i read through all documentation availbale on the official pages and the...
I'm trying to debug some logic in a program that climbs through a few compicated lists. I thought there would be an easy way to print out a type, like it...
Is there any way of generating format types for Printf.xxx at runtime, or can this only be done from string constants? I'm looking for a way of converting...
Hello, I'm installing the gnuplot ocaml module, and while trying to run the demos, I cannot find a module named Parse_args. Googling was helpless (!!) so I'm...
Hello, in my code I have the following: let l1 = Listbox.create mainwin [ ] in I now want to set the initial size of the Listbox-Widget. How to do it? I tried...
Hi, This is probably not a OCaml specific problem, but anyway I need to solve it in OCaml. Process can fork son processes, and these sons processes can fork...
Hi, I've been looking at the different ways to run a program of which the source is written in an .ml file and found this strange. If I make some program.ml...
Hello, is there some UTF8 (or Unicode) support with ocaml ? I've looked through the archives but the only thing I could find is 'camomile39;. -> I don't want a...
We just released a new version of Smoke, including a free byte-code edition: http://www.ffconsultancy.com/products/smoke_vector_graphics/ Smoke is a...
Hi guys, I'm new to OCaml and have been learning a little bit about it over the past few days. This is the first functional programming language that I'm...
Is there anyway to force the compiler to check that a function is as polymorphic as its annotation? I've large function that ocaml infers a less general type...
... Hash: SHA1 Hi, I've been looking for an auto mli solution. Mli files are a pain to write. Everytime I change something, eg. add a print function for a...
Hello all, I've noticed that in the OCaml toplevel user-enforced type renaming always works with non-functional values but not (always) with functional values ...
... *** please apologise for multiple copies *** Hi everyone, The new version of ODT has been released this morning. This version replaces the broken ODT 1.1...