From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: Vector of Vectors.
Date: Mon, 19 Jan 2009 20:11:25 -0600
Date: 2009-01-19T20:11:25-06:00 [thread overview]
Message-ID: <gl3bvd$m0j$1@munin.nbi.dk> (raw)
In-Reply-To: wccfxjgti9o.fsf@shell01.TheWorld.com
"Robert A Duff" <bobduff@shell01.TheWorld.com> wrote in message
news:wccfxjgti9o.fsf@shell01.TheWorld.com...
...
>> I wish it were, yes. A loop body _should_ be
>> elf explanatory. FWIW, I have not seen a loop
>> with just single statement in quite a while.
>> Hope things are in different shape elsewhere.
>
> Not sure what you mean. I'm saying that Ada's current support for
> iterators requires you to wrap the loop body in a named procedure.
> The fact that people don't normally wrap loop bodies in procedures
> (when using 'for' and 'while' loops) proves that doing so is a burden.
I've lost the thread of this discussion, but the issue of iterators in Ada
with proper syntax is trivial IFF the language has the correct features. And
the feature that the language doesn't have that prevents a relatively easy
iterator is the one alluded to by the OP. I've spent a good portion of the
last two months thinking about these issues, and there is no getting around
the missing way to modify an element in place in a container. (I've several
times thought that I'd gotten around the problem, but it isn't practical to
do so.)
Watch Ada-Comment for my take on these problems, some coming very soon
(tonight, I hope).
Randy Brukardt.
next prev parent reply other threads:[~2009-01-20 2:11 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-15 0:32 Vector of Vectors Peter C. Chapin
2009-01-15 2:44 ` Jeffrey R. Carter
2009-01-15 10:10 ` Alex R. Mosteo
2009-01-15 10:56 ` Georg Bauhaus
2009-01-15 20:44 ` Jeffrey R. Carter
2009-01-15 21:26 ` Robert A Duff
2009-01-17 10:20 ` Ivan Levashew
2009-01-17 10:51 ` Dmitry A. Kazakov
2009-01-17 16:45 ` Robert A Duff
2009-01-17 17:18 ` Dmitry A. Kazakov
2009-01-17 23:06 ` Robert A Duff
2009-01-18 9:44 ` Dmitry A. Kazakov
2009-01-17 16:41 ` Robert A Duff
2009-01-17 18:56 ` Georg Bauhaus
2009-01-17 22:59 ` Robert A Duff
2009-01-18 18:34 ` Georg Bauhaus
2009-01-18 21:29 ` Robert A Duff
2009-01-19 11:52 ` Georg Bauhaus
2009-01-19 12:39 ` Georg Bauhaus
2009-01-20 2:11 ` Randy Brukardt [this message]
2009-01-15 12:08 ` Peter C. Chapin
2009-01-16 10:15 ` Alex R. Mosteo
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox