Re: linked list rewrite

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: linked list rewrite
Дата
Msg-id 200403240000.i2O00xg12015@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: linked list rewrite  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: linked list rewrite
Следующее
От: Tom Lane
Дата:
Сообщение: Re: linked list rewrite