comp.lang.ada
 help / color / mirror / Atom feed
From: Ted Dennison<dennison@telepath.com>
Subject: Standard Queue status
Date: Wed, 28 Nov 2001 18:37:20 GMT
Date: 2001-11-28T18:37:20+00:00	[thread overview]
Message-ID: <z9aN7.41127$xS6.69040@www.newsranger.com> (raw)
In-Reply-To: 9u0ujd$rhg$1@nh.pace.co.uk

In article <9u0ujd$rhg$1@nh.pace.co.uk>, Marin David Condic says...
>I think that Ted proposed a package that would make a good start. But that
>rather quickly shot off in a few dozen directions with objections on all
>sorts of fronts - and it was only one little lonely list package.  I could
>still imagine taking it pretty much "as is" and adding to it a map package
>that looked similar and declaring that "Version 1.0". Any chance that
>proposal would gain any support? Anybody else have a proposed answer?
>
>I think if we don't commit to some direction pretty soon, the stagnation and
>deadlock will result in a lack of interest and this will wither on the vine.
>Too bad. Its a good idea and a noble goal.

I think I'd best say that I should shoulder a fair bit of the blame for that.
First off, I *asked* for more discussion when some were apparently ready to move
toward implementing what we had. I'd hoped a bit more polishing (particularly
anound the subprogram names and the implementation of the iterator) would
achieve us a broader consensus. 

My second crime was that I went and purchased Civ3, which has proceeded to suck
up all my computer time for the last couple of weeks, along with a good chunk of
my sleep time as well. :-(

To get things back on track, I'd like to ask if there is anything in Nick's
proposal that there is general consensus on putting in the strawman (or we could
take it the other way, if that's what folks want). If you want to look at it,
the package in question is at
http://www.adaos.ukf.net/njr05/scl-lists-unbounded.ads.html .

Personally, I like his use of the "Direction" type to specify which end to start
from in his operations. I also like the ability to convert between lists and
unbounded arrays. I think those may merit putting in the final version. There
are also a number of operations in there that the strawman doesn't have which
some folks may find useful.

On the other hand, I'm not a big fan of the iterator approach used. In an
"unbounded" package, I don't think the user should have to worry about running
out of resources like iterators. That sort of breaks the whole "unbounded"
philosophy. 

Also I think there are too many operations in there. The package spec is huge.
It has (by my count) 79 subprograms. The current strawman has 34, which to some
people it seems is annoyingly small, as we keep seeing suggestions for
additions. Perhaps in between there somewhere the truth lies. 

A large culprit here seems to be the unbounded-array support, which is probably
taken a bit too far. Its OK to convert between them, but anything much more
should probably be accomplished by first converting the array to a list. If we
take Ada.Strings.Unbounded as a model, only the infix operators should have
unbounded array equivalents.

---
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.



  parent reply	other threads:[~2001-11-28 18:37 UTC|newest]

Thread overview: 62+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-27  1:19 Queue steve
2001-11-27  2:07 ` Queue Larry Kilgallen
2001-11-27 19:30   ` Queue Ted Dennison
2001-11-27 19:45     ` Queue Marin David Condic
2001-11-27 20:29       ` Queue Matthew Heaney
2001-11-27 20:55         ` Queue Marin David Condic
2001-11-27 21:20           ` Queue Ehud Lamm
2001-11-27 22:13             ` Queue Marin David Condic
2001-11-27 22:35               ` Queue Ehud Lamm
2001-11-28 14:53                 ` Queue Marin David Condic
2001-11-28 16:40                   ` Standard Library, Again (was: Re: Queue) Jeffrey Carter
2001-11-28 18:37           ` Ted Dennison [this message]
2001-11-28 21:02             ` Standard Queue status Marin David Condic
2001-11-28 21:40               ` Ehud Lamm
2001-11-29 14:42                 ` Ted Dennison
2001-11-29 15:23                   ` Marin David Condic
2001-11-29 17:58                     ` Ted Dennison
2001-11-29  7:23             ` Mats Karlssohn
2001-11-29 14:55               ` Ted Dennison
2001-11-29 15:58               ` Jeffrey Carter
2001-11-29 16:27                 ` Marin David Condic
2001-11-29 18:10                 ` Ted Dennison
2001-11-30  2:00                   ` Jeffrey Carter
2001-11-30 15:07                     ` Ted Dennison
2001-11-30 20:19                 ` Mark Lundquist
2001-11-29 13:47             ` Stephen Leake
2001-11-29 15:53               ` Marin David Condic
2001-11-29 18:10                 ` Stephen Leake
2001-11-29 18:58                   ` Marin David Condic
2001-11-29 18:21                 ` Ted Dennison
2001-11-29 19:12                   ` Marin David Condic
2001-11-29 20:25                     ` Ted Dennison
2001-11-29 22:49                       ` Marin David Condic
2001-11-30 15:15                         ` Ted Dennison
2001-11-30 15:32                           ` Marin David Condic
2001-11-30 19:49                             ` tmoran
2001-11-29 18:29               ` Stephen Leake
2001-11-29 19:27                 ` Marin David Condic
2001-11-29 20:35                   ` Ted Dennison
2001-11-29 22:54                     ` Marin David Condic
2001-11-30  1:51                       ` Jeffrey Carter
2001-11-29 18:37               ` Ted Dennison
2001-12-04 19:48                 ` Stephen Leake
2001-12-04 20:27                   ` Ted Dennison
2001-11-29 22:29               ` Jeffrey Carter
2001-11-30  2:19                 ` Nick Roberts
2001-12-04 19:51                   ` Stephen Leake
2001-11-30 15:19                 ` Ted Dennison
2001-11-30 12:40               ` Simon Wright
2001-11-27 21:38         ` Queue Brian Rogoff
2001-11-28  8:07           ` Queue Mats Karlssohn
2001-11-30  4:49             ` Queue Brian Rogoff
2001-11-30 15:30               ` Queue Ted Dennison
2001-11-30 21:02                 ` Queue Ehud Lamm
2001-11-30 21:07               ` Queue Ehud Lamm
2001-11-28  8:28           ` Queue Thomas Wolf
2001-11-28 17:27           ` Queue Ted Dennison
2001-11-30 22:11             ` Queue Ehud Lamm
2001-11-28  8:01         ` Queue Mats Karlssohn
2001-11-28  7:48       ` Queue Mats Karlssohn
2001-11-28 15:39         ` Queue Marin David Condic
2001-11-29  7:35           ` Queue Mats Karlssohn
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox