From: Ted Dennison<dennison@telepath.com>
Subject: Re: List Container Strawman 1.4
Date: Sun, 16 Dec 2001 04:46:00 GMT
Date: 2001-12-16T04:46:00+00:00 [thread overview]
Message-ID: <cGVS7.414$XC5.271@www.newsranger.com> (raw)
In-Reply-To: 87heqs5awc.fsf@deneb.enyo.de
In article <87heqs5awc.fsf@deneb.enyo.de>, Florian Weimer says...
>
> type Element_Array is array (Natural range <>) of Element;
>
> function To (Source : Element_Array) return List;
> function From (Source : List) return Element_Array;
>
>What about a generic version of To and From which can handle arrays
>with different index types?
I think the proper way to give that level of flexability would be to make the
array itself a generic parameter to the package. In my opinion, that's just one
bridge too far.
> generic
> with procedure Operation (Target : in out Element; Quit : out Boolean);
> procedure Passive_Iterator (Target : in out List);
>
>
>I'd like to suggest to make Quit mode "in out", with a default of
>False.
Arrg! That had already been agreed to. I just forgot to put it in. Good catch.
>I think the Reverse_Order predicate should be named differently, so
>that it's clear from its name that it's a predicate. "Reverse_Order"
>could also mean "Reverse the order of the elments.", not just "Are
>these elements in reversed order?".
That's a good point. The only other thing I can think of at the moment though
is "Out_Of_Order", which has other unfortunate connotations. :-)
---
T.E.D. homepage - http://www.telepath.com/dennison/Ted/TED.html
No trees were killed in the sending of this message.
However a large number of electrons were terribly inconvenienced.
next prev parent reply other threads:[~2001-12-16 4:46 UTC|newest]
Thread overview: 64+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-13 3:23 List Container Strawman 1.4 Ted Dennison
2001-12-13 18:11 ` Brian Hanson
2001-12-13 23:02 ` Nick Roberts
2001-12-14 15:19 ` Ted Dennison
2001-12-14 23:54 ` Ted Dennison
2001-12-15 2:06 ` Server - tasking and long lived connections Eric Merritt
2001-12-15 3:10 ` James Rogers
2001-12-15 12:10 ` Florian Weimer
2001-12-15 14:38 ` Larry Kilgallen
2001-12-15 16:51 ` Steve Doiel
2001-12-17 9:15 ` Thierry Lelegard
2001-12-17 9:34 ` Jean-Pierre Rosen
2001-12-17 10:16 ` Thierry Lelegard
2001-12-18 9:08 ` Jean-Pierre Rosen
2001-12-17 15:08 ` Larry Kilgallen
2001-12-17 15:39 ` Pat Rogers
2001-12-19 18:20 ` Matthew Heaney
2001-12-19 18:50 ` Eric Merritt
2001-12-15 1:20 ` List Container Strawman 1.4 Nick Roberts
2001-12-15 20:29 ` Ted Dennison
2001-12-16 18:45 ` Nick Roberts
2001-12-21 15:53 ` Ted Dennison
2001-12-21 16:42 ` Marin David Condic
2001-12-21 18:28 ` Ted Dennison
2001-12-21 18:47 ` Marin David Condic
2001-12-21 19:39 ` Ted Dennison
2001-12-21 19:48 ` Marin David Condic
2001-12-22 12:29 ` Simon Wright
2001-12-21 20:03 ` Nick Roberts
2001-12-21 16:52 ` Marin David Condic
2001-12-21 18:41 ` Ted Dennison
2001-12-21 19:14 ` Marin David Condic
2001-12-21 21:13 ` Ted Dennison
2001-12-22 5:34 ` John B. Matthews
2001-12-21 20:19 ` Stephen Leake
2001-12-21 21:35 ` Ted Dennison
2001-12-24 11:58 ` Florian Weimer
2001-12-24 14:42 ` Eric Merritt
2001-12-24 22:47 ` Ted Dennison
2001-12-25 22:15 ` Florian Weimer
2001-12-28 13:58 ` Ted Dennison
2001-12-21 17:43 ` Stephen Leake
2001-12-21 18:44 ` Ted Dennison
2001-12-16 21:53 ` Larry Hazel
2001-12-15 22:27 ` Ted Dennison
2001-12-16 4:32 ` Darren New
2001-12-24 13:53 ` Florian Weimer
2001-12-15 23:19 ` Florian Weimer
2001-12-16 4:46 ` Ted Dennison [this message]
2001-12-24 13:57 ` Florian Weimer
2001-12-28 14:00 ` Ted Dennison
2001-12-28 16:43 ` Hyman Rosen
2001-12-28 19:12 ` Nick Roberts
2001-12-28 19:49 ` Matthew Heaney
2001-12-29 23:23 ` Matthew Heaney
2001-12-30 6:31 ` Hyman Rosen
2002-01-03 0:09 ` Matthew Heaney
2002-01-03 0:20 ` Brian Rogoff
2001-12-17 8:34 ` Mark Lundquist
2001-12-18 21:56 ` Florian Weimer
2001-12-18 21:54 ` Larry Kilgallen
2001-12-18 22:34 ` Mark Lundquist
2001-12-19 4:03 ` Nick Roberts
2001-12-24 13:54 ` Florian Weimer
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox