[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Planning work
From: |
Thomas Bushnell, BSG |
Subject: |
Re: Planning work |
Date: |
27 Apr 2001 23:22:01 -0700 |
User-agent: |
Gnus/5.0803 (Gnus v5.8.3) Emacs/20.7 |
Rob Browning <address@hidden> writes:
> In your module file, you need to declare your module:
>
> (define-module (foo bar baz))
>
> and then you can start defining things normally and using other
> modules. To make some of your definitions public (so code that uses
> your module will see them), just call (export some-symbol) or
> (export-syntax some-symbol).
In Lisp, symbols are localized in modules by : syntax...generally you
ask for symbol foo in module bar with the syntax bar:foo.
Is that syntax in use in guile? I see it, but is it merely a
convention, or does it have syntactic import the way it does in Lisp?
Thomas