English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Camlp4: example/parse_files.ml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-04-07 (07:31)
From: Hendrik Tews <tews@c...>
Subject: Re: [Caml-list] Camlp4: example/parse_files.ml
"Nicolas Pouillard" <nicolas.pouillard@gmail.com> writes:

   That's some corner case where first-class modules would help a
   lot, however one can use some black magic under the hood to
   get the same effect. One need to store extensions once and for
   all, in a map from names to "modules". 

Sure, if you can store modules in an association list, you are
done. But how to store modules in an association list?