comp.lang.ada
 help / color / mirror / Atom feed
From: Bob Duff <bobduff@theworld.com>
Subject: Re: Two approaches of iterators for the key-value pairs
Date: Sun, 29 Nov 2015 16:17:31 -0500
Date: 2015-11-29T16:17:31-05:00	[thread overview]
Message-ID: <874mg4mro4.fsf@theworld.com> (raw)
In-Reply-To: lyzixx1ywf.fsf@pushface.org

Simon Wright <simon@pushface.org> writes:

> but we are now discovering that we don't just want to use it for
> containers, rather for anything we might want to iterate over, such as
> directory entries, prime numbers, ...

"anything we might want to iterate over" = "container".
At least, that's one way to look at it.  E.g. the set of all prime
numbers is a set, and a set is a container.  A "virtual container"
I suppose, because you're not going to store all the prime numbers
in memory at once.

- Bob

  reply	other threads:[~2015-11-29 21:17 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-27 15:25 Two approaches of iterators for the key-value pairs ytomino
2015-11-27 16:30 ` Dmitry A. Kazakov
2015-11-27 18:08   ` ytomino
2015-11-27 20:50     ` Dmitry A. Kazakov
2015-11-27 22:52     ` bj.mooremr
2015-11-27 17:00 ` Pascal Obry
2015-11-27 18:25   ` ytomino
2015-11-27 17:43 ` Brad Moore
2015-11-27 19:38   ` ytomino
2015-11-27 19:46     ` ytomino
2015-11-27 23:11     ` Brad Moore
2015-11-28  8:58       ` Simon Wright
2015-11-28 19:54         ` Brad Moore
2015-11-28 23:34           ` Simon Wright
2015-11-29 21:17             ` Bob Duff [this message]
2015-11-29 16:17         ` Simon Wright
2015-11-29 17:55       ` ytomino
replies disabled

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