[Caml-list] Re: Incremental linking

2009-10-16 Thread Dawid Toton
Yes. ocamlopt -pack actually calls ld -r underneath to consolidate several compilation units in a single .cmx/.o file. ld -r will resolve references between these compilation units. I tried with this switch and indeed I can link a toy program by arbitrary intermediate steps. It works OK and

[Caml-list] Dynlink ocamlfind problem

2009-10-16 Thread Dmitriy Kargapolov
Hi All, This already was discussed but in context of Win32/Cygwin. I found similar behaviour in Unix environment. Playing with ocamlfind command I found that option -package dynlink didn't add anything to the generated build command, but other packages, extlib for example, did that. Looks like

Re: [Caml-list] camlp5/revised syntax questions

2009-10-16 Thread Aaron Bohannon
On Sat, Oct 10, 2009 at 8:31 AM, blue storm bluestorm.d...@gmail.com wrote: The revised and classical syntax are designed as syntax extensions (pa_o.ml pa_r.ml) that extend an empty grammar, wich already contains some (empty) grammar entries. They first clear every entry of that grammar

[Caml-list] How to add () to function parameters

2009-10-16 Thread Till Crueger
Hi, I am looking for a way to add a unit parameter to a function that takes an arbitrary number of parameters. If the number of parameters is known this is fairly easy and I can just do: let lift1 f a = fun () - f a;; let lift2 f a b = fun () - f a b;; (all these create

[Caml-list] Ocaml-cry: an ocaml native implementation source protocols for icecast/shoutcast

2009-10-16 Thread Romain Beauxis
Hi all ! Coming along with the next release of liquidsoap, we have just released a new module for ocaml, namely ocaml-cry. Ocaml-cry is a native implementation of the protocols used for sending source data to icecast and shoutcast servers. The main difference with the famous libshout

[Caml-list] Call for Participation: VSTTE 2009

2009-10-16 Thread Jean-Christophe Filliâtre
* * * * VSTTE 2009 * * * *Workshop on Verified Software * *

Re: [Caml-list] How to add () to function parameters

2009-10-16 Thread Till Varoquaux
Oh, and I nearly forgot: In practice you shouldn't really have that many functions taking more than 5 unlabeled arguments lying around so I would bite the bullet and define cps1 through 5 the straightforward way Till On Fri, Oct 16, 2009 at 11:15 AM, Till Varoquaux t...@pps.jussieu.fr wrote:

Re: [Caml-list] Camlimages integer overflows with PNG images

2009-10-16 Thread Richard Jones
On Sat, Jul 04, 2009 at 10:56:50AM +0900, Jun Furuse wrote: Coincidentally I am working on png reading code of camlimages again this week. I will check the patch and incorporate it to the CVS version soon. I'm not sure if we can get to the CVS version of camlimages? Anyhow, after a series of

Re: [Caml-list] Linking mutually dependent modules for fun

2009-10-16 Thread Damien Guichard
Hi Dawid, Have you ever considered recursive modules ? http://caml.inria.fr/pub/docs/manual-ocaml/manual021.html#toc75 - damien En réponse au message de : Dawid Toton du : 2009-10-16 09:51:57 À : caml-list@yquem.inria.fr CC : Sujet : [Caml-list] Linking mutually dependent modules for fun