guile-user
[Top][All Lists]
Advanced

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

Making a module hierarchy


From: P Pareit
Subject: Making a module hierarchy
Date: Sat, 21 Sep 2002 11:01:45 +0200
User-agent: KMail/1.4.2

Hey,

I'm waiting a bit with scwm, as the problems are now in the scheme code and 
Scott has much better knowledge with that.

For learning purpose I thought of writing some modules for guile which provide 
gl, glu, and glut to scheme. (yes, there is already an guileGL library)
I know one has to place libraries in directories to make a hierarchy, but I 
don't think that I can do what I want. I would like an directory to have an 
default scm file, a bit like index.html for web pages, like this:

.../graphic/library/default.scm
->(use-modules (graphic library))
.../graphic/library/math.scm
->(use-modules (graphic library math))
../graphic/library/utility/default.scm
->(use-modules (graphic library utility))
../graphic/library/utility/toolkit.scm
->(use-modules (graphic library utility toolkit))

I hope you can follow what I mean, and can answer if there are way's to make 
that kind of hierarchy work.

pieter;




reply via email to

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