From: Robert Feldt Date: 2001-11-14T02:44:20+09:00 Subject: [ruby-talk:25046] Re: Set class in Ruby On Wed, 14 Nov 2001, Jason Voegele wrote: > >> However, sometimes it's convenient to have Sets, collections where > >> there's only ever one of each element. These have different semantics > >> to arrays: they are not necessarily ordered, attempting to add an > >> element doesn't necessarily increase the size, and so on. > > > > So, why doesn't Ruby have Set as a built-in class? > > Paul Brannan and I are working on implementing a library of data structures > and algorithms for Ruby to fill this gap. It is not yet available, but I > have a Set class that you can get at: > Could you be specific as to what DS and Algs you're working on. I know some other stuff in this area and it would be a shame with too much overlap. Horst Duchene is working on a pretty extensive Graph package for example. Regards, Robert