Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Functors
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-05-06 (20:23)
From: Alain.Frisch@e...
Subject: Re: [Caml-list] Functors
On Thu, 6 May 2004, Jon Harrop wrote:

> As someone else said, using a "defunctorizer" apparently makes it impossible
> to perform some static analysis.

I don't know who said that, but Julien Signoles said the opposite:

> Morever, static analysis tools do not generally correctly work on
> functorized programs: so a source-to-source defunctorizer as ocamldefun
> can be used by these tools while a defunctorizer directly included in
> the compiler cannot.

To rephrase it: since some static analysis are difficult to perform on
fonctors, it is good to have a standalone defunctorizer (not burried
into the compiler) to be used as a first pass of the analysis.

-- Alain

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: