comp.lang.ada
 help / color / mirror / Atom feed
From: "Ehud Lamm" <mslamm@mscc.huji.ac.il>
Subject: Re: List Container Straw Man
Date: Fri, 9 Nov 2001 18:24:40 +0200
Date: 2001-11-09T18:24:40+02:00	[thread overview]
Message-ID: <9sh082$bp0$1@news.huji.ac.il> (raw)
In-Reply-To: u3d3nrkbe.fsf@gsfc.nasa.gov

Stephen Leake <stephen.a.leake.1@gsfc.nasa.gov> wrote in message
news:u3d3nrkbe.fsf@gsfc.nasa.gov...
> Well, my library (http://users.erols.com/leakstan/Stephe/Ada/sal.html)
> requires three or four instantiations to get a list, and I don't find
> that 'onerous'. But others do, particularly students. So I think it is
> worth making the attempt to come up with a useful list package that
> only requires one instantiation.
>

Since we seem to be discussing various Ada features...
I was always ready to defend Ada's lack of automatic instnatiation, but I
seem to be loosing me resovle.
Maybe some one can re-convince me ;-)

For the purposes discussed here, I would be happy with a solution allowing
me to create partial instantaions, so that only the top level would need to
be instantiated by the user.
(This is close to "template specialization", I think, but not exactly the
same thing).
Is there any elegant idiom for doing this?
(If I am not clear, I'll try to post an example).

Ehud






  reply	other threads:[~2001-11-09 16:24 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-06 16:45 List Container Straw Man Nick Roberts
2001-11-06 17:29 ` Stephen Leake
2001-11-06 18:25   ` Marin David Condic
2001-11-06 23:02     ` Nick Roberts
2001-11-07 19:49       ` Stephen Leake
2001-11-07 20:30         ` Marin David Condic
2001-11-07 23:58           ` Nick Roberts
2001-11-08  4:34             ` Jeffrey Carter
2001-11-08 10:45             ` Ehud Lamm
2001-11-08 19:09               ` Nick Roberts
2001-11-09 16:32                 ` Ted Dennison
2001-11-10  2:20                   ` Nick Roberts
2001-11-10 19:50                     ` Ehud Lamm
2001-11-11  3:48                       ` Nick Roberts
2001-11-08 10:41           ` Ehud Lamm
2001-11-08 19:20             ` Marin David Condic
2001-11-08 20:35               ` Ehud Lamm
2001-11-09 16:39             ` Ted Dennison
2001-11-08  0:06         ` Nick Roberts
2001-11-09 16:16           ` Stephen Leake
2001-11-09 16:24             ` Ehud Lamm [this message]
2001-11-09 16:52               ` Brian Rogoff
2001-11-09 18:04             ` Darren New
2001-11-09 20:05               ` Stephen Leake
2001-11-10  3:24             ` Nick Roberts
2001-11-06 23:52   ` Nick Roberts
2001-11-07  4:44     ` A question and a request Eric Merritt
2001-11-07 11:00       ` Preben Randhol
2001-11-07 12:54         ` David C. Hoos, Sr.
2001-11-08  2:35           ` dale
2001-11-07 13:24         ` Eric Merritt
2001-11-07 13:58       ` James Rogers
2001-11-07 16:32       ` Jeffrey Carter
2001-11-09 23:32       ` Matthew Heaney
replies disabled

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