[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Hierarchical name space
From: |
Andy Wingo |
Subject: |
Re: Hierarchical name space |
Date: |
Thu, 01 Apr 2010 00:31:16 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) |
On Wed 31 Mar 2010 22:42, address@hidden (Ludovic Courtès) writes:
> Hey,
>
> Andy Wingo <address@hidden> writes:
>
>> Also in every module that has submodules, like (language tree-il) and
>> (language tree-il compile-glil), the "supermodule" has a binding for the
>> submodule. Do a (module-ref (resolve-module '(ice-9)) 'threads)
>> sometime.
>
> I think I found a possible use case for the hierarchical name space. :-)
>
> Suppose we want something like PLaneT or Eggs, let’s call it GUMM
> (Guile’s Unified Module Machinery). Ideally, we’d want to be able to
> write this:
>
> (use-modules (gumm foo bar))
Ew. I even forgot that I did this with slib a while back.
I'm still inclined to think that the module namespace hierarchy (and it
is a hierarchy) should not impinge on the environment of an evaluation.
But, not something we can change right now.
A
--
http://wingolog.org/
- Re: Hierarchical name space,
Andy Wingo <=