This page is part of the web mail archives of SRFI 44 from before July 7th, 2015. The new archives for SRFI 44 contain all messages, not just those from before July 7th, 2015.
On Tue, Oct 28, 2003 at 09:40:05PM -0800, Bradd W. Szonye wrote: > > Bradd W. Szonye wrote: > >> Is this the get-left/right for bags? I've already raised this issue. > >> These interfaces are inappropriate for bags, which have no concept of > >> sequence -- if they did, they wouldn't be bags. > > scgmille@xxxxxxxxxxxxxxxxxx wrote: > > Ordered bags most certainly have a well defined concept of direction. > > Then why is it defined for all bags and not just the ordered ones? > Wasn't that your argument when we proposed atomic operations for > tree-based dictionaries? > > > Other bags may as well. > > Can you give an example that would not be a sequence or an ordered bag? > > > For example, a queue is a bag which is not ordered in the SRFI-44 > > sense (the ordering isn't value determined) but has a well defined > > left/right distinction. > > Queues are sequences. Try again. No they aren't. Queues do not require the user to be able to see values within the middle of the queue, and thus don't necessarily belong as sequences. Scott
Description: PGP signature