> Maybe there should be a standard place to put Haskell interfaces and
> libraries/objects. As there can be many modules in a package and thus
> many interfaces, and collisions between module names are harmless in
> a case where both are not used in the same program, interfaces should
> probably go to a separate directories for each package.
Yes, yes, yes!!
It might be worth considering something like Perl's system: the user/administrator
sets an environment variable giving a search path for libraries, and includes
something like $HOME/lib/site_perl or /usr/local/lib/perl. When a program requests a
module, it is searched for in the appropriate subtree of all the directories listed in
this variable (plus the standard places).
Of course, Perl has a hierarchical namespace for modules, rather than a flat one, so
conflicts are a little less likely; but this could still be useful anyway.
JAP\010HH...
--KW 8-)
--
: Keith Wansbrough, MSc, BSc(Hons) (Auckland) -------------------:
: PhD Student, Computer Laboratory, University of Cambridge, UK. :
: Native of Antipodean Auckland, New Zealand: 174d47'E, 36d55'S. :
: http://www.cl.cam.ac.uk/users/kw217/ mailto:[EMAIL PROTECTED] :
:----------------------------------------------------------------: