comp.lang.ada
 help / color / mirror / Atom feed
From: John English <je@brighton.ac.uk>
Subject: Re: List Container Straw Man (NJR V5R1)
Date: Wed, 05 Dec 2001 13:04:17 +0000
Date: 2001-12-05T13:52:46+00:00	[thread overview]
Message-ID: <3C0E1B51.253F5E98@brighton.ac.uk> (raw)
In-Reply-To: 9u6ahm$6gdc1$1@ID-25716.news.dfncis.de

Nick Roberts wrote:
> 
> (3) instead of having numbered cursors inside the list object, it would be
> possible to provide a separate cursor type, objects of which would be
> attached to a specific list object by an Open procedure (and detached by a
> Close).

Why bother with Open and Close? Why not just operations like First(L)
(which returns an iterator pointing to the first element of list L)
to generate iterator/cursor values on demand? I'm not sure I see the
point of what you're proposing...

-----------------------------------------------------------------
 John English              | mailto:je@brighton.ac.uk
 Senior Lecturer           | http://www.comp.it.bton.ac.uk/je
 Dept. of Computing        | ** NON-PROFIT CD FOR CS STUDENTS **
 University of Brighton    |    -- see http://burks.bton.ac.uk
-----------------------------------------------------------------



  parent reply	other threads:[~2001-12-05 13:04 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
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 [this message]
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