Re: linked list rewrite - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: linked list rewrite
Date
Msg-id 200403240000.i2O00xg12015@candle.pha.pa.us
Whole thread Raw
In response to Re: linked list rewrite  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > What does the 'n' stand for in ncons?  I also felt that lcons
> > (construct) and nconc(concat) were too similarly named.
> 
> I think nconc is a direct copy from the Lisp original; whatever its
> origins are, they're back in Lisp prehistory.  I don't mind renaming
> that one ;-)

I found out why it is called Nconc:The name comes from CommonLisp: 'conc' for 'concatenate', prefixed bythe 'n' which
signalsa dangerous function modifying existing lists.(Think of as as n-for-nuke.)
 

from:
http://www.muq.org/~cynbe/muq/mufref_437.html

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: linked list rewrite
Next
From: Tom Lane
Date:
Subject: Re: linked list rewrite