comp.lang.ada
 help / color / mirror / Atom feed
From: Ted Dennison <dennison@telepath.com>
Subject: Re: Ragged Array Proposal
Date: 1999/09/27
Date: 1999-09-27T00:00:00+00:00	[thread overview]
Message-ID: <7so0i4$d8j$1@nnrp1.deja.com> (raw)
In-Reply-To: 37ebb120@eeyore.callnetuk.com

In article <37ebb120@eeyore.callnetuk.com>,
  "Nick Roberts" <nickroberts@callnetuk.com> wrote:
> To use the fructuous example of another post in this thread, in Ada 95
> one would have to declare:
>
> Fruits: constant array (Positive range <>) of Unbounded_String :=
>     (To_Unbounded_String("Apple"),
>      To_Unbounded_String("Orange"),
>      To_Unbounded_String("Pear"),
>      ...);

Actually, that hides a bit of information. If I were writing it, it
would look more like:

Fruits : constant array (Positive range <>) of
Ada.Strings.Unbounded.Unbounded_String :=
   (Ada.Strings.Unbounded.To_Unbounded_String("Apple"),
    Ada.Strings.Unbounded.To_Unbounded_String("Orange"),
    Ada.Strings.Unbounded.To_Unbounded_String("Pear"),
    ...);

> I would be delighted for the ARG to consider my ragged array
> proposal, if it comes within the group's remit. I will endeavour to

While I'm beginning to think the idea may have merit, I think it would
be too drastic of a change to even think of retroactively incorporating
into the current standard. If it is considered at all, it should be for
a 20xx language revision.

--
T.E.D.


Sent via Deja.com http://www.deja.com/
Before you buy.




  parent reply	other threads:[~1999-09-27  0:00 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <37e7c08e@eeyore.callnetuk.com>
1999-09-22  0:00 ` Ragged Array Proposal Ted Dennison
1999-09-22  0:00   ` Ray Blaak
1999-09-23  0:00     ` Tucker Taft
1999-09-23  0:00       ` Nick Roberts
1999-09-23  0:00         ` Hyman Rosen
1999-09-24  0:00           ` Nick Roberts
1999-09-24  0:00             ` Hyman Rosen
1999-09-25  0:00               ` Robert Dewar
1999-09-27  0:00                 ` Hyman Rosen
1999-09-27  0:00                   ` Brian Rogoff
1999-09-28  0:00                   ` Robert Dewar
1999-09-24  0:00         ` Ted Dennison
1999-09-24  0:00           ` Nick Roberts
1999-09-24  0:00         ` Robert Dewar
1999-09-24  0:00           ` Wes Groleau
1999-09-25  0:00             ` Robert Dewar
1999-09-25  0:00             ` Robert Dewar
1999-09-24  0:00       ` Robert Dewar
1999-09-23  0:00     ` Ted Dennison
1999-09-24  0:00     ` Robert Dewar
1999-09-23  0:00 ` Robert I. Eachus
1999-09-24  0:00   ` Nick Roberts
1999-09-25  0:00     ` Robert Dewar
1999-09-25  0:00     ` Robert Dewar
1999-09-25  0:00     ` Robert Dewar
1999-09-27  0:00     ` Ted Dennison [this message]
1999-09-27  0:00       ` Pascal Obry
1999-09-28  0:00         ` Ted Dennison
1999-09-28  0:00           ` Robert Dewar
1999-09-29  0:00             ` Geoff Bull
1999-09-28  0:00       ` Robert Dewar
replies disabled

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