Skip site navigation (1) Skip section navigation (2)

list macro names

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: hackers(at)postgreSQL(dot)org (PostgreSQL-development)
Subject: list macro names
Date: 1998-08-28 04:51:00
Message-ID: 199808280451.AAA13280@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
I will, of course, be running pgindent on the source just before beta.

I would also like to change a few of list macro names that I can never
remember, and I am sure others have the same problem.

---------------------------------------------------------------------------

lappend is good

lcons should be ladd (adds to the front of the list, while lappend adds to end 

nconc should be lconcat, because it concats two lists

lconsi becomes ladd_int

lappendi becomes lappend_int

nreverse becomes lreverse

set_difference becomes set_difference_int

---------------------------------------------------------------------------

What do people think?

-- 
Bruce Momjian                          |  830 Blythe Avenue
maillist(at)candle(dot)pha(dot)pa(dot)us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)

Responses

pgsql-hackers by date

Next:From: Bruce MomjianDate: 1998-08-28 04:58:26
Subject: initdb/vacuum fixes
Previous:From: Jan WieckDate: 1998-08-28 03:52:45
Subject: Re: [HACKERS] initdb problem

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group