comp.lang.ada
 help / color / mirror / Atom feed
From: Jeffrey Carter <jeffrey.carter@boeing.com>
Subject: Re: List Container Straw Man (NJR V5R1)
Date: Fri, 30 Nov 2001 17:07:55 GMT
Date: 2001-11-30T17:07:55+00:00	[thread overview]
Message-ID: <3C07BCEB.86878310@boeing.com> (raw)
In-Reply-To: 9u6ahm$6gdc1$1@ID-25716.news.dfncis.de

Note that my comments on 7

"[list elements must not be private] List elements must be limited
private."

are misleading, since they were made on the modified version

"List elements must not be limited private"

As to mimicking Ada.Strings.*, abstract strings are a special case of
unbounded arrays, not of lists, as they don't provide O(1) insertion and
deletion.

In order to be general, operations taking an array of elements would
have to be generic, so that the client may specify the array type. These
are easy enough for the client to implement with the basic operations,
so I doubt if they're worth the trouble of providing.

-- 
Jeffrey Carter



  parent reply	other threads:[~2001-11-30 17:07 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-29 21:46 List Container Straw Man (NJR V5R1) Nick Roberts
2001-11-29 21:59 ` Nick Roberts
2001-11-30  1:51   ` Nick Roberts
2001-11-30  1:58 ` Jeffrey Carter
2001-11-30 17:07 ` Jeffrey Carter [this message]
2001-11-30 22:05   ` Nick Roberts
2001-12-01  2:12     ` Jeffrey Carter
2001-12-01  3:10       ` Nick Roberts
2001-12-05 13:04 ` John English
2001-12-06 17:36   ` Nick Roberts
replies disabled

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