This is the mail archive of the
guile@cygnus.com
mailing list for the Guile project.
Re: Where should guile modules store meta data?
- To: Marisha Ray & Neil Jerram <mpriz@dircon.co.uk>
- Subject: Re: Where should guile modules store meta data?
- From: Jost Boekemeier <jostobfe@calvados.zrz.TU-Berlin.DE>
- Date: 03 Jun 1999 17:59:40 +0200
- Cc: guile <guile@cygnus.com>
- References: <005301bead9c$9472af80$923670c2@mpriz.dircon.co.uk>
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