From: Simon Wright <simon@pushface.org>
Subject: Re: Reduction expressions
Date: Tue, 20 Aug 2024 22:23:27 +0100 [thread overview]
Message-ID: <lyjzgaopm8.fsf@pushface.org> (raw)
In-Reply-To: va149e$388rf$1@dont-email.me
"Randy Brukardt" <randy@rrsoftware.com> writes:
> "Simon Wright" <simon@pushface.org> wrote in message
> news:ly5xs4d2ft.fsf@pushface.org...
>> Are the Accum_Type & Value_Type (ARM 4.5.10(9/5)) of a reduction attribute
>> reference required to be definite?
>>
>> ARM 4.5.10(24/5) & (25.5) seem to imply so, which explains why GNAT
>> doesn't support e.g. String.
>
> Accum_Subtype (we changed the name since it is a subtype, not a type;
Amazing how a person (I) can have used Ada for ~40 years and still be
hard put to it to describe the difference, at least in a case like this
one, where the ARG members clearly see meanings that leave me lukewarm
if not cold. Maybe "the heart of twilight"?
> But I don't think String would do anything useful,
> since the bounds are determined by the initial value.
String was just the simplest indefinite type for an example.
> BTW, this answer is essentially topic #1 of AI22-0011-1.
Thanks for the pointer.
next prev parent reply other threads:[~2024-08-20 21:23 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-13 12:36 Reduction expressions Simon Wright
2024-08-20 3:59 ` Randy Brukardt
2024-08-20 21:23 ` Simon Wright [this message]
2024-08-20 23:30 ` Lawrence D'Oliveiro
2024-08-20 23:41 ` Keith Thompson
2024-08-21 1:37 ` Lawrence D'Oliveiro
2024-08-21 7:47 ` Simon Wright
2024-08-24 4:27 ` Randy Brukardt
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox