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
BCP relating to -pack?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-05-26 (12:08)
From: Richard Jones <rich@a...>
Subject: Re: [Caml-list] BCP relating to -pack?
A better way to create a hierarchical namespace seems to be to use
some character _other than_ '.' (dot) to separate the levels.

For instance:

  Net_httpclient   (nearly)

This allows a third party to come along and add packages to the same
"namespace", eg. Pxp_myextension.

Using dot / -pack doesn't allow extension and doesn't allow the package
to be spread over several cma files.


(I'm not claiming that I've used this convention in my own packages,
but I ought to have done ...)

Richard Jones, CTO Merjis Ltd.
Merjis - web marketing and technology - http://merjis.com
Team Notepad - intranets and extranets for business - http://team-notepad.com