From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Neil Conway <neilc(at)samurai(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: linked list rewrite |
Date: | 2004-03-24 00:00:59 |
Message-ID: | 200403240000.i2O00xg12015@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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 by
the 'n' which signals a 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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2004-03-24 00:05:37 | Re: linked list rewrite |
Previous Message | ogjunk-pg | 2004-03-24 00:00:22 | createused + createdb problems with passwords |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2004-03-24 00:05:37 | Re: linked list rewrite |
Previous Message | Bruce Momjian | 2004-03-23 23:50:44 | Re: linked list rewrite |