comp.lang.ada
 help / color / mirror / Atom feed
From: Robert Dewar <robert_dewar@my-deja.com>
Subject: Re: Containers with Ada
Date: 2000/11/19
Date: 2000-11-19T00:00:00+00:00	[thread overview]
Message-ID: <8v8v9q$ht6$1@nnrp1.deja.com> (raw)
In-Reply-To: 8v8pii$dvo$1@nnrp1.deja.com

In article <8v8pii$dvo$1@nnrp1.deja.com>,
  jeltsch@my-deja.com wrote:
atform.
>
>    4. Limitations with controlled types
>       procedure Act(Limit : in Natural) is
>          subtype My_Range is Natural range 1 .. Limit;
>          package My_Lists is new Lists(My_Range);
>       begin
>          ...
>       end Act;

Simply define the types and instantiations you need at the
library level, and parametrize them appropriately. Again,
if you post complete examples, it may be easier to help.

You are making the mistake of having a preconceived idea
of how to do things, and unfortunately the idea is wrong.
Try describing what you want to do at a high level, rather
than providing solutions that are wrong and complaining
about the solutions not working.

The trouble with the latter approach is that then we have to
guess at the problem you are trying to solve, and this guessing
often goes astray.


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




  parent reply	other threads:[~2000-11-19  0:00 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-19  0:00 Containers with Ada jeltsch
2000-11-19  0:00 ` Robert Dewar
2000-11-20  4:37   ` Brian Rogoff
2000-11-20  0:00     ` Ted Dennison
2000-11-20  0:00       ` Brian Rogoff
2000-11-19  0:00 ` Robert Dewar
2000-11-19  0:00 ` Robert Dewar [this message]
2000-11-20  0:00   ` Wolfgang Jeltsch
2000-11-19  0:00 ` Ken Garlington
2000-11-20  0:00   ` Wolfgang Jeltsch
2000-11-20  0:00   ` Wolfgang Jeltsch
2000-11-19  0:00 ` Robert Dewar
2000-11-20  0:00 ` Marc A. Criley
2000-11-20  0:00   ` Wolfgang Jeltsch
2000-11-20  0:00   ` Brian Rogoff
2000-11-20  0:00     ` Stephen Leake
2000-11-20  0:00       ` Brian Rogoff
2000-11-21  0:00       ` Marc A. Criley
2000-11-21  0:00       ` Warren W. Gay VE3WWG
2000-11-21  0:00         ` Stephen Leake
2000-11-21  0:00           ` Warren W. Gay VE3WWG
2000-11-21  0:00             ` Stephen Leake
2000-11-22  0:00               ` Containers with Ada (distribution of) Warren W. Gay VE3WWG
     [not found]                 ` <004d01c0567b$cd4e49c0$b0375140@Fudge>
2000-11-25  0:00                   ` Does anyone use Anna? Lao Xiao Hai
2000-11-22  0:00               ` Containers with Ada Warren W. Gay VE3WWG
replies disabled

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