This is the mail archive of the
guile@sources.redhat.com
mailing list for the Guile project.
Q: how to organize a module?
- To: Guile <guile at sources dot redhat dot com>
- Subject: Q: how to organize a module?
- From: Ivan Toshkov <ivant at ifao dot net>
- Date: 27 Aug 2000 14:27:52 -0200
Hello list,
I'd like to know is there a correct way to divide a module in several
files.
I tried something like:
in a.scm:
(define-module (a))
(load "b.scm")
in b.scm:
(define-public test-val 0)
then
guile> (use-modules (a))
guile> test-val
0
guile>
So it works, but I don't know if it's a know/intended feature that will
persist.
--
Ivan Toshkov