[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Recursive namespace
From: |
Rob Browning |
Subject: |
Re: Recursive namespace |
Date: |
24 Apr 2001 00:56:31 -0500 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
Keisuke Nishida <address@hidden> writes:
> I'd like to allow the following notation for inter-module
> variable accesses:
>
> (List::list-ref '(0 1 2) 1) => 1
I'm confused, why do you want a notation at all? What's wrong with
(List list-ref) as a notation, and presumably something much more
efficient (a gensym?) internally? Can you explain the application a
little more?
Also, why mixed case?
> This means that the variable `make' is defined in the module
> named `GOOPS', which is defined in the module OOP. This is the
> idea of recursive namespace.
Unless I'm misunderstanding, when I was talking about recursive
namespaces before, I was talking about something different. I was
talking about the (unexpected IMO) automatic inheritance of exported
symbols by a child module from its parent.
i.e. if there is a symbol in the module (foo bar) named frob, it will
also be visible to any other sub-module of (foo bar), including (foo
bar x), (foo bar y), etc.
--
Rob Browning <address@hidden> PGP=E80E0D04F521A094 532B97F5D64E3930
- Re: Document the current module system?, (continued)
- Re: Document the current module system?, NIIBE Yutaka, 2001/04/23
- Re: Document the current module system?, Martin Grabmueller, 2001/04/23
- Recursive namespace, Keisuke Nishida, 2001/04/23
- Recursive namespace, NIIBE Yutaka, 2001/04/23
- Re: Recursive namespace, Keisuke Nishida, 2001/04/24
- Re: Recursive namespace, Alex Shinn, 2001/04/24
- Interface should be determined at compile time, NIIBE Yutaka, 2001/04/24
- Re: Recursive namespace, Marius Vollmer, 2001/04/29
- Re: Recursive namespace, Martin Grabmueller, 2001/04/24
- Re: Recursive namespace, Keisuke Nishida, 2001/04/24
- Re: Recursive namespace,
Rob Browning <=
- Re: Recursive namespace, Keisuke Nishida, 2001/04/24
- Re: Recursive namespace, Rob Browning, 2001/04/24
- Re: Recursive namespace, Keisuke Nishida, 2001/04/24