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)

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" does