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
[Caml-list] Module system and multiple libraries
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-06-29 (04:31)
From: Jonathan Roewen <jonathan.roewen@g...>
Subject: [Caml-list] Module system and multiple libraries

Does OCaml have any support for having modules of the same name in
different libraries? If not, it should be seriously looked at.

I guess something as simple as using the folder name as a base, and
for multiple module names conflicting with the base library,
unprefixed modules would be the standard library.

Just that I want to create modules that will collide with names from
other libraries/standard library, and I don't want to run into more
namespace collision problems. The record scoping rules are painful