[Haskell-cafe] Re: Data.Ring -- Pre-announce

Iavor Diatchki iavor.diatchki at gmail.com
Thu Dec 31 17:37:29 EST 2009

I usually refer to this structure as a RingBuffer, just an idea.  If
you have the time, I would add rough complexity estimates to the
documentation for the different functions.  Thanks for your work!
Happy new year,

On Thu, Dec 31, 2009 at 1:13 PM, John Van Enk <vanenkj at gmail.com> wrote:
> I've decided to settle on Data.CircularList. The renamed git repository is
> here:
> http://github.com/sw17ch/data-clist
> On Thu, Dec 31, 2009 at 3:29 PM, Twan van Laarhoven <twanvl at gmail.com>
> wrote:
>> John Van Enk wrote:
>>> Hi Heinrich,
>>> I think I like Ring more than Necklace or Tom's suggestion of Circular. I
>>> chose Ring simply because that's what I was searching for when I wanted the
>>> data structure. The package will be named data-ring, so that should
>>> hopefully be enough to clue in the user that it's not dealing with the
>>> mathematical concept.
>> The mathematical concept would likely also go in Data, unfortunately. See
>> for example Data.Monoid. If someone does at a Ring class sometime, it is
>> very likely to go into Data.Ring, which would lead to conflicts. In fact it
>> already exists, see the "monoids" package [1]
>> I would prefer the name RingList or CircularList. As long as you put the
>> word "ring" in the package description users will still find it when
>> searching on hackage.
>> [1]
>> http://hackage.haskell.org/packages/archive/monoids/0.1.25/doc/html/Data-Ring.html
>> Twan
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe

More information about the Haskell-Cafe mailing list