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

Maciej Piechotka uzytkownik2 at gmail.com
Mon Jan 4 08:51:13 EST 2010


On Thu, 2009-12-31 at 04:59 -0500, John Van Enk wrote:
> Hi List,
> 
> I recently needed a ring structure (circular list with bi-directional
> access) and didn't see anything obvious on Hackage. I threw something
> together fairly quickly and would like some feedback before tossing it
> on Hackage.
> 
> I'd really appreciate if some one would:
>      1. make sure the code looks goodish (127 lines with full docs)
>      2. make sure my tests look saneish 
> If I hear nothing, I'll assume wild support and push to Hackage.
> 
> Code: http://github.com/sw17ch/data-ring/blob/master/src/Data/Ring.hs
> Tests:
> http://github.com/sw17ch/data-ring/blob/master/tests/quickcheck.hs
> Package Root: http://github.com/sw17ch/data-ring
> 
> Thanks ahead of time,
> John Van Enk

Monad, MonadPlus, Applicative, Alternative, Foldable and Traversable.

About comonad - not exactly as every comonad is copointed and the only
possible way is extract Empty = _|_

Regards
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Added-Monad-instance.patch
Type: text/x-patch
Size: 796 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20100104/3f540487/0001-Added-Monad-instance.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Added-MonadPlus-instance.patch
Type: text/x-patch
Size: 990 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20100104/3f540487/0002-Added-MonadPlus-instance.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Added-Applicative-instance.patch
Type: text/x-patch
Size: 1038 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20100104/3f540487/0003-Added-Applicative-instance.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-Added-Alternative-instance.patch
Type: text/x-patch
Size: 1004 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20100104/3f540487/0004-Added-Alternative-instance.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-Added-Foldable-instance.patch
Type: text/x-patch
Size: 1117 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20100104/3f540487/0005-Added-Foldable-instance.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-Added-Traversable-instance.patch
Type: text/x-patch
Size: 1071 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20100104/3f540487/0006-Added-Traversable-instance.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-Added-Pointed-instance.patch
Type: text/x-patch
Size: 1193 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20100104/3f540487/0007-Added-Pointed-instance.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0008-Added-Copointed-instance.patch
Type: text/x-patch
Size: 850 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20100104/3f540487/0008-Added-Copointed-instance.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0009-Added-Comonad-instance.patch
Type: text/x-patch
Size: 1248 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20100104/3f540487/0009-Added-Comonad-instance.bin


More information about the Haskell-Cafe mailing list