This is the mail archive of the guile@cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Where should guile modules store meta data?


Marisha Ray & Neil Jerram <mpriz@dircon.co.uk> writes:

> I think that the one file approach is easier for the module user, but there
> is no reason why the module implementer should not split one file into two:
> 
> $ #the interface to (package1 test-module)
> $ cat test-module.scm
> (module-define '(package1 test-module)  '<imports> '<exports> <protects>
> <inits>)
> (load "test-module-i.scm")
> 
> $ #the implementation of test-module (part of `package1' package)
> $ cat test-module-i.scm
> (define ...)
> 
> This is so easy that I don't think the module system needs to provide any
> special support for it.

Yeah. Thanks!

I've put the code at
-> ftp://ftp.tfh-berlin.de/pub/incoming/guile-module-hack-030699.tar.gz

:)


Jost

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]