[Caml-list] OCamlBuild question

2008-09-30 Thread David Teller
Hi everyone, I'm trying to write a OCamlBuild plug-in to automatically generate the .mli corresponding to a .mlpack (for documentation purposes). I've written a [rule] which lets me depend a .mli on the corresponding .mlpack . From this .mlpack, I can obtain the list of modules involved i

[Caml-list] Re: OCamlBuild question

2008-09-30 Thread Nicolas Pouillard
Excerpts from david.teller's message of Tue Sep 30 09:27:11 +0200 2008: > Hi everyone, > I'm trying to write a OCamlBuild plug-in to automatically generate > the .mli corresponding to a .mlpack (for documentation purposes). > > I've written a [rule] which lets me depend a .mli on the > corresp

[Caml-list] Random number generator

2008-09-30 Thread Michał C
Hello! Do You maybe have any idea how good is the standard RNG from random.ml module? I know that it's quite fast but what about the quality of generated numbers? I've tried implementing various random number generators for the whole yesterday but I couldn't bypass ocaml's int limitations

Re: [Caml-list] Random number generator

2008-09-30 Thread Till Varoquaux
It apparently [1] passed the die hard test so it should be pretty solid. Now here comes the warning: one can only prove that PRNG are bad, withstanding the test of time is the best hint fir quality. Random numbers are a tricky subject; if you are using them for your ray tracer a low-discrepancy seq

[Caml-list] Re: OCamlBuild question

2008-09-30 Thread David Teller
Merci, avec ces explications, je suis enfin arrivé à faire fonctionner [build]. Maintenant, reste un problème tout bête : j'arrive à écrire le contenu de mon .mli dans _build mais pour des raisons qui m'échappent, celui-ci est effacé avant la fin de la compilation. J'ai essayé de l'ouvrir avec [ope

[Caml-list] Re: OCamlBuild question

2008-09-30 Thread David Teller
Merci, avec ces explications, je suis enfin arrivé à faire fonctionner [build]. Maintenant, reste un problème que je n'arrive pas à comprendre : mon fichier disparaît. Pour être plus précis, j'écris le contenu de mon .mli dans un fichier que j'ai créé pour l'occasion, à l'intérieur de _build -- mai