[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] module and macro documentation
From: |
felix winkelmann |
Subject: |
Re: [Chicken-users] module and macro documentation |
Date: |
Mon, 26 May 2008 09:30:56 +0200 |
On Mon, May 26, 2008 at 4:24 AM, Jim Ursetto <address@hidden> wrote:
>
> I have one question so far. The core units (srfi-1.scm) have associated
> import
> libraries (srfi-1.import.scm) but they are not wrapped in module definitions.
> So when used, their definitions are automatically visible at toplevel, in
> addition to being importable into module namespaces.
Using srfi-1, etc. without modules works like usual, you don't need
importing anything in that case. The import libs for core units are
hand-written and just map identifiers to themselves (otherwise they
would be renamed). So the answer is: yes.
Note that qualified identifiers ("##sys#...") can be used normally inside
a module and are not implicitly renamed.
>
> I was curious if this was temporary behavior or if this is intended.
I would like not to force using modules. At least for core units, everything
should be usable as it is.
cheers,
felix