comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeffrey R.Carter" <spam.jrcarter.not@spam.acm.org.not>
Subject: Re: Java and Python have just discovered "record" type finally after 40 years.
Date: Mon, 15 May 2023 12:44:13 +0200	[thread overview]
Message-ID: <u3t2du$31frq$1@dont-email.me> (raw)
In-Reply-To: <87353ys8is.fsf@bsb.me.uk>

On 2023-05-15 03:11, Ben Bacarisse wrote:
> 
> Do you still have it?  Does is discuss association lists?  I'd call them
> a normal part of LISP and it would be odd to force the associations to
> be lists rather than pairs.  Does Siklóssy imply that an ASSOC list is a
> list of lists of length 2, or does he not discuss them until the very
> end?

The Function ASSOC is discussed in Chapter 9 as an auxiliary function used by 
EVAL (Chapter 9 discusses the working of EVAL). It says

ASSOC finds the value of a variable in the ALIST. The ALIST is a list of 
sublists of two SEXes each of the form (variable value-of-the-variable).

In a footnote he notes that the ALIST could be a list of dotted pairs, which are 
defined in the next chapter.

I never did much with LISP after learning it, and never looked at any other 
textbooks, so he might have an idiosyncratic approach. Seems rather OT for c.l.a.

-- 
Jeff Carter
"Mixtures of similar characters (letter O and
digit 0, letter I and digit 1, etc.) are unsafe,
as are long identifiers that differ only at the
end."
Elements of Programming Style
187

  reply	other threads:[~2023-05-15 10:44 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-12 17:50 Java and Python have just discovered "record" type finally after 40 years Nasser M. Abbasi
2023-05-12 18:58 ` richardthiebaud
2023-05-12 21:33 ` Jeffrey R.Carter
2023-05-13  7:13   ` Niklas Holsti
2023-05-13 11:18     ` Luke A. Guest
2023-05-13 16:53       ` Niklas Holsti
2023-05-14  6:46         ` J-P. Rosen
2023-05-14  7:20           ` Nasser M. Abbasi
2023-05-14  9:49             ` Luke A. Guest
2023-05-14  9:43           ` Luke A. Guest
2023-05-14  9:45           ` Luke A. Guest
2023-05-14 10:29           ` Niklas Holsti
2023-05-14 10:37           ` Ben Bacarisse
2023-05-14 10:39           ` Jeffrey R.Carter
2023-05-14 15:10             ` J-P. Rosen
2023-05-14 15:14             ` Ben Bacarisse
2023-05-14 16:56               ` Jeffrey R.Carter
2023-05-15  1:11                 ` Ben Bacarisse
2023-05-15 10:44                   ` Jeffrey R.Carter [this message]
2023-05-17  0:24                     ` Ben Bacarisse
2023-05-14 12:46           ` Bill Findlay
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox