From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-65-14.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-3.2 required=3.0 tests=BAYES_00,NICE_REPLY_A, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: "Jeffrey R.Carter" Newsgroups: comp.lang.ada Subject: Re: Java and Python have just discovered "record" type finally after 40 years. Date: Sun, 14 May 2023 18:56:27 +0200 Organization: A noiseless patient Spider Message-ID: References: <878rdrrlly.fsf@bsb.me.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Sun, 14 May 2023 16:56:27 -0000 (UTC) Injection-Info: dont-email.me; posting-host="1ac44b328564d7e59fe17d3e4a7bf553"; logging-data="2758244"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX188aF2CCoafOKVYUUOJcW3kv7rzZ98TmP0=" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Cancel-Lock: sha1:ePJy9UKX9ny0kNzPm5uAWpgOcUE= Content-Language: en-US In-Reply-To: <878rdrrlly.fsf@bsb.me.uk> Xref: news.eternal-september.org comp.lang.ada:65236 List-Id: On 2023-05-14 17:14, Ben Bacarisse wrote: > > I never saw a LISP S-expressions defined that way. Did this list really > no have a "dotted pair" as the basic structure with lists being simply a > special case? The book I learned from (/Let's Talk LISP/ by Laurent Siklóssy, 1976) introduces dotted pairs in chapter 10.7.1 (out of 12 chapters) on page 145 (out of 213, excluding appendices and index). Chapter 10 deals with the internal representation of data in LISP. The implication is that they were not considered part of the normal use of the language. S-expressions, on the other hand, are introduced in chapter 1.1 on page 2. The book also presents the grammar S-expression ::= atom | list list ::= '(' inside ')' inside ::= empty | S-expression | S-expression inside empty ::= -- Jeff Carter "Don't knock masturbation. It's sex with someone I love." Annie Hall 45