[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Generators (iterators) for Gnu Emacs
From: |
Daniel Colascione |
Subject: |
Re: Generators (iterators) for Gnu Emacs |
Date: |
Sun, 07 Dec 2014 17:21:13 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 |
On 12/07/2014 04:25 PM, Richard Stallman wrote:
> > I don't know Stefan's motives, but would love to see actual namespaces
> > in Emacs Lisp.
>
> The idea sounds nice in theory, but in practice multiple name spaces
> do not fit into Lisp very well. Common Lisp packages are an unclean
> kludge; this was clear to me when I implemented them in the 1980s in
> the Lisp Machine. It is impossible to use them in the way one would
> wish to use them.
The entire Common Lisp ecosystem is a counterexample so your rather
sweeping declaration. In practice, namespaces are rather useful despite
the need to *sometimes* fully *some* symbols. It's still better than
having to fully specify *every* symbol on *every* use.
> In practice, you have to write the package prefix whenever you refer
> to a symbol that has one. It might as well be part of the symbol name
> itself. Thus, packages complicate the language definition while
> providing no benefit.
There's a lot of Lisp code out there that uses packages in the way they
were meant to be used, and your personal distaste for the mechanism
shouldn't keep namespaces out of elisp.
signature.asc
Description: OpenPGP digital signature
- Re: Namespace macros, (continued)
- Re: Namespace macros, Helmut Eller, 2014/12/08
- Re: Namespace macros, Richard Stallman, 2014/12/08
- Re: Namespace macros, Artur Malabarba, 2014/12/08
- Re: Namespace macros, Helmut Eller, 2014/12/08
- RE: Generators (iterators) for Gnu Emacs, Drew Adams, 2014/12/07
- Re: Generators (iterators) for Gnu Emacs, Richard Stallman, 2014/12/07
- Re: Generators (iterators) for Gnu Emacs,
Daniel Colascione <=
- RE: Generators (iterators) for Gnu Emacs, Drew Adams, 2014/12/08
- Re: Generators (iterators) for Gnu Emacs, Richard Stallman, 2014/12/08
- RE: Generators (iterators) for Gnu Emacs, Drew Adams, 2014/12/08
- Re: Generators (iterators) for Gnu Emacs, Stefan Monnier, 2014/12/08
- namespaces, Ivan Shmakov, 2014/12/09
- Re: Generators (iterators) for Gnu Emacs, Richard Stallman, 2014/12/08
- Re: Generators (iterators) for Gnu Emacs, Stefan Monnier, 2014/12/07
- Re: Generators (iterators) for Gnu Emacs, Nic Ferrier, 2014/12/07
- Re: Generators (iterators) for Gnu Emacs, Stefan Monnier, 2014/12/07
- Re: Generators (iterators) for Gnu Emacs, Nic Ferrier, 2014/12/07