[email protected]
[Top] [All Lists]

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

Subject: [Haskell-cafe] Re: Data.Ring -- Pre-announce
From: Maciej Piechotka
Date: Mon, 04 Jan 2010 14:51:13 +0100
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

Attachment: 0001-Added-Monad-instance.patch
Description: Text Data

Attachment: 0002-Added-MonadPlus-instance.patch
Description: Text Data

Attachment: 0003-Added-Applicative-instance.patch
Description: Text Data

Attachment: 0004-Added-Alternative-instance.patch
Description: Text Data

Attachment: 0005-Added-Foldable-instance.patch
Description: Text Data

Attachment: 0006-Added-Traversable-instance.patch
Description: Text Data

Attachment: 0007-Added-Pointed-instance.patch
Description: Text Data

Attachment: 0008-Added-Copointed-instance.patch
Description: Text Data

Attachment: 0009-Added-Comonad-instance.patch
Description: Text Data

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe
<Prev in Thread] Current Thread [Next in Thread>