Re: Ichbiah 2022 compiler mode

Liste des GroupesRevenir à cl ada 
Sujet : Re: Ichbiah 2022 compiler mode
De : randy (at) *nospam* rrsoftware.com (Randy Brukardt)
Groupes : comp.lang.ada
Date : 14. Sep 2024, 07:18:25
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vc39rl$1b1jo$1@dont-email.me>
References : 1 2 3 4
User-Agent : Microsoft Outlook Express 6.00.2900.5931
"Lawrence D'Oliveiro" <ldo@nz.invalid> wrote in message
news:vbvpmt$esm6$7@dont-email.me...
On Wed, 11 Sep 2024 23:39:27 -0500, Randy Brukardt wrote:
>
"Lawrence D'Oliveiro" <ldo@nz.invalid> 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.

Unfortunately, "updater" functions don't work with the Ada model of
components, because you can't tell what to do when a component appears or
disappears in an assignment. (That's why Ada doesn't allow overloading
":=".) And composition is very important to Ada -- stand-alone objects are
pretty rare outside of those for scalar types. I don't think something that
only worked with stand-alone objects would be very useful (can't use those
with ODTs, for instance)..

                  Randy.



Date Sujet#  Auteur
5 Sep 24 * Ichbiah 2022 compiler mode38Kevin Chadwick
5 Sep 24 +* Re: Ichbiah 2022 compiler mode6Jeffrey R.Carter
5 Sep 24 i+* Re: Ichbiah 2022 compiler mode2Bill Findlay
5 Sep 24 ii`- Re: Ichbiah 2022 compiler mode1Jeffrey R.Carter
5 Sep 24 i+- Re: Ichbiah 2022 compiler mode1Kevin Chadwick
5 Sep 24 i`* Re: Ichbiah 2022 compiler mode2Kevin Chadwick
5 Sep 24 i `- Re: Ichbiah 2022 compiler mode1Jeffrey R.Carter
6 Sep 24 +* Re: Ichbiah 2022 compiler mode29Randy Brukardt
6 Sep 24 i+* Re: Ichbiah 2022 compiler mode5Lawrence D'Oliveiro
12 Sep 24 ii`* Re: Ichbiah 2022 compiler mode4Randy Brukardt
13 Sep 24 ii `* Re: Ichbiah 2022 compiler mode3Lawrence D'Oliveiro
14 Sep 24 ii  `* Re: Ichbiah 2022 compiler mode2Randy Brukardt
14 Sep 24 ii   `- Re: Ichbiah 2022 compiler mode1Lawrence D'Oliveiro
6 Sep 24 i+* Re: Ichbiah 2022 compiler mode15Simon Wright
7 Sep 24 ii`* Re: Ichbiah 2022 compiler mode14Niklas Holsti
7 Sep 24 ii +- Re: Ichbiah 2022 compiler mode1Nioclás Pól Caileán de Ghloucester
12 Sep 24 ii `* Re: Ichbiah 2022 compiler mode12Randy Brukardt
12 Sep 24 ii  +* Re: Ichbiah 2022 compiler mode5Niklas Holsti
12 Sep 24 ii  i+- Re: Ichbiah 2022 compiler mode1Dmitry A. Kazakov
12 Sep 24 ii  i`* Re: Ichbiah 2022 compiler mode3Kevin Chadwick
12 Sep 24 ii  i +- Re: Ichbiah 2022 compiler mode1Niklas Holsti
13 Sep 24 ii  i `- Re: Ichbiah 2022 compiler mode1Nioclás Pól Caileán de Ghloucester
12 Sep 24 ii  `* Re: Ichbiah 2022 compiler mode6J-P. Rosen
12 Sep 24 ii   `* Re: Ichbiah 2022 compiler mode5Niklas Holsti
14 Sep 24 ii    `* Re: Ichbiah 2022 compiler mode4Randy Brukardt
14 Sep 24 ii     +- Re: Ichbiah 2022 compiler mode1Dmitry A. Kazakov
14 Sep 24 ii     +- Re: Ichbiah 2022 compiler mode1Lawrence D'Oliveiro
14 Sep 24 ii     `- Re: Ichbiah 2022 compiler mode1Niklas Holsti
21 Dec00:26 i+* Re: Ichbiah 2022 compiler mode6Lioneldraghi
21 Dec09:14 ii`* Re: Ichbiah 2022 compiler mode5Randy Brukardt
21 Dec10:50 ii +- Re: Ichbiah 2022 compiler mode1Jeffrey R.Carter
21 Dec18:19 ii +* Re: Ichbiah 2022 compiler mode2G.B.
21 Dec18:35 ii i`- Re: Ichbiah 2022 compiler mode1Chris Townley
21 Dec22:26 ii `- Re: Ichbiah 2022 compiler mode1Keith Thompson
21 Dec01:52 i`* Re: Ichbiah 2022 compiler mode2Lioneldraghi
21 Dec09:19 i `- Re: Ichbiah 2022 compiler mode1Randy Brukardt
6 Sep 24 `* Re: Ichbiah 2022 compiler mode2Jeffrey R.Carter
6 Sep 24  `- Re: Ichbiah 2022 compiler mode1Nioclás Pól Caileán de Ghloucester

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal