Re: [External] : Re: Why is `nreverse' called `nreverse'?

2023-10-31 Thread Marcin Borkowski

On 2023-10-30, at 08:08, Drew Adams  wrote:

> Googling tells me this:
>
> https://stackoverflow.com/questions/4982732/what-word-is-abbreviated-by-n-in-names-of-destructive-lisp-functions
>
> which tells me this:
>
> https://gigamonkeys.com/book/they-called-it-lisp-for-a-reason-list-processing.html#destructive-operations

Thanks!  I tried to find this on the Internet, too, but I was apparently
too stupid to formulate a correct query in the search engine...

Best,

-- 
Marcin Borkowski
http://mbork.pl

---
via emacs-tangents mailing list 
(https://lists.gnu.org/mailman/listinfo/emacs-tangents)


Re: Why is `nreverse' called `nreverse'?

2023-10-31 Thread Marcin Borkowski

On 2023-10-30, at 10:17, Stephen Berman  wrote:

> On Mon, 30 Oct 2023 07:00:36 +0100 Marcin Borkowski  wrote:
>
>> Hi all,
>>
>> I know that the "n-" prefix means that it is destructive.  But why "n-"?
>> I also know that this comes from Common Lisp, but still -- why the
>> letter "n-"?
>>
>> TIA,
>
> Paul Graham writes in ANSI Common Lisp (Chapter 12, page 202, footnote 2):
>
>The n originally stood for "non-consing."

Thanks!

-- 
Marcin Borkowski
http://mbork.pl

---
via emacs-tangents mailing list 
(https://lists.gnu.org/mailman/listinfo/emacs-tangents)


Re: Why is `nreverse' called `nreverse'?

2023-10-30 Thread Stephen Berman
On Mon, 30 Oct 2023 07:00:36 +0100 Marcin Borkowski  wrote:

> Hi all,
>
> I know that the "n-" prefix means that it is destructive.  But why "n-"?
> I also know that this comes from Common Lisp, but still -- why the
> letter "n-"?
>
> TIA,

Paul Graham writes in ANSI Common Lisp (Chapter 12, page 202, footnote 2):

   The n originally stood for "non-consing."

Steve Berman

---
via emacs-tangents mailing list 
(https://lists.gnu.org/mailman/listinfo/emacs-tangents)


RE: [External] : Re: Why is `nreverse' called `nreverse'?

2023-10-30 Thread Drew Adams
Googling tells me this:

https://stackoverflow.com/questions/4982732/what-word-is-abbreviated-by-n-in-names-of-destructive-lisp-functions

which tells me this:

https://gigamonkeys.com/book/they-called-it-lisp-for-a-reason-list-processing.html#destructive-operations
---
via emacs-tangents mailing list 
(https://lists.gnu.org/mailman/listinfo/emacs-tangents)


Re: Why is `nreverse' called `nreverse'?

2023-10-29 Thread Per Starbäck
The N- prefix for destructive functions is indeed present in Common
Lisp, but it goes further back than that. It is so in Maclisp, which
both Common Lisp and GNU Emacs Lisp have taken a lot from.
(If it also existed in lisps prior to Maclisp I don't know.) Pitman's
"The Revised Maclisp Manual" doesn't explain the N-. I guess it may
have come from NCONC.

Den mån 30 okt. 2023 kl 07:01 skrev Marcin Borkowski :
>
> Hi all,
>
> I know that the "n-" prefix means that it is destructive.  But why "n-"?
> I also know that this comes from Common Lisp, but still -- why the
> letter "n-"?
>
> TIA,
>
> --
> Marcin Borkowski
> http://mbork.pl
>
> ---
> via emacs-tangents mailing list 
> (https://lists.gnu.org/mailman/listinfo/emacs-tangents)

---
via emacs-tangents mailing list 
(https://lists.gnu.org/mailman/listinfo/emacs-tangents)


Why is `nreverse' called `nreverse'?

2023-10-29 Thread Marcin Borkowski
Hi all,

I know that the "n-" prefix means that it is destructive.  But why "n-"?
I also know that this comes from Common Lisp, but still -- why the
letter "n-"?

TIA,

-- 
Marcin Borkowski
http://mbork.pl

---
via emacs-tangents mailing list 
(https://lists.gnu.org/mailman/listinfo/emacs-tangents)