From mboxrd@z Thu Jan 1 00:00:00 1970 Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Lawrence D'Oliveiro Newsgroups: comp.lang.ada Subject: Re: Ichbiah 2022 compiler mode Date: Thu, 12 Sep 2024 22:24:29 -0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Fri, 13 Sep 2024 00:24:29 +0200 (CEST) Injection-Info: dont-email.me; posting-host="fe8eaca0c36637cab02c0b5baab677cf"; logging-data="488134"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19s91uI2943ikeGN69dfS+Q" User-Agent: Pan/0.160 (Toresk; ) Cancel-Lock: sha1:WnWb4nJLYaWG4kRYvBI5ErvCbSA= Xref: news.eternal-september.org comp.lang.ada:66351 List-Id: On Wed, 11 Sep 2024 23:39:27 -0500, Randy Brukardt wrote: > "Lawrence D'Oliveiro" wrote in message > news:vbdk2t$hj0r$6@dont-email.me... >> On Thu, 5 Sep 2024 19:03:22 -0500, Randy Brukardt wrote: > ... >>> (10) Variable-returning functions are introduced. >> >> Is this like updater functions in POP-11, or "setf" in Lisp? > > No, it is a function that returns a variable, meaning you can assign > into the function result. I think an updater function would be more generally useful. Because some things you want to update might not (depending on the implementation) live independently in an explicit variable. And it seems good not to constrain implementations unnecessarily.