guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Module name == dir hierarchy seems to make devel awkward...


From: Rob Browning
Subject: Module name == dir hierarchy seems to make devel awkward...
Date: 22 Mar 2001 17:14:43 -0600
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

Maybe I'm missing an obvious alternative, but say guile decides to
define in it's new module hierarchy a section like (ui graphical 3-d
fancy) and say I want to create an opengl module, which should
obviously :> be accessed as

  (use-modules (ui graphical 3-d fancy opengl))

With the current module system, it seems like in my development
directory for guile-opengl, if I wanted to work without having to do a
"make install" every time I made a change, I'd have to have a mostly
empty deep subtree for all my files.  i.e. my project's directories
would have to look something like this:

  guile-opengl/INSTALL
  guile-opengl/README
  guile-opengl/Makefile.am
  ...
  guile-opengl/graphical/3-d/fancy/opengl.scm
  guile-opengl/graphical/3-d/fancy/opengl/low-level.scm
  ...

So I'd have three levels of empty subdirectories just to mirror the
eventual install hierarchy.  To me this seems awkward, but I don't see
an alternative given the current module system design.

So is there an alternative, or is this just expected?

Thanks

-- 
Rob Browning <address@hidden> PGP=E80E0D04F521A094 532B97F5D64E3930



reply via email to

[Prev in Thread] Current Thread [Next in Thread]