From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: Initializing an array of tasks with discrimants
Date: Sat, 23 Nov 2019 03:12:56 -0600
Date: 2019-11-23T03:12:56-06:00 [thread overview]
Message-ID: <qrat6p$2us$1@franka.jacob-sparre.dk> (raw)
In-Reply-To: wcca78nzcox.fsf@shell02.theworld.com
"Robert A Duff" <bobduff@TheWorld.com> wrote in message
news:wcca78nzcox.fsf@shell02.theworld.com...
> Jere <jhb.chat@gmail.com> writes:
>
>> Is there a particular aggregate that I can use to avoid
>> the superfluous wrapper record?
>
> See AI12-0212-1.TXT. Not yet implemented in GNAT,
> as far as I know.
If you wanted the indexes in order, you could use AI12-0061-1 (but I don't
know if that is implemented in GNAT yet, either):
(for I in 1 .. 10 => (D => I, others => <>))
That still needs the wrapper record as I don't think you can write an
aggregate for a task. But a lot shorter.
Randy.
next prev parent reply other threads:[~2019-11-23 9:12 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-22 22:07 Initializing an array of tasks with discrimants Jere
2019-11-22 22:39 ` Jeffrey R. Carter
2019-11-23 16:23 ` Jere
2019-11-22 23:57 ` Robert A Duff
2019-11-23 0:27 ` Anh Vo
2019-11-23 9:12 ` Randy Brukardt [this message]
2019-11-23 16:50 ` Jere
2019-11-23 16:25 ` Jere
2019-11-23 8:29 ` Dmitry A. Kazakov
2019-11-23 16:28 ` Jere
2019-11-23 17:03 ` Dmitry A. Kazakov
2019-11-23 16:57 ` Jere
2019-11-25 22:36 ` 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