sw17ch / data-clist

A purely functional ring data structure for Haskell.
Other
8 stars 9 forks source link

add Foldable and Traversable instances? #9

Closed noinia closed 8 years ago

noinia commented 8 years ago

As the title suggests; can we add Foldable and Traversable instances? This would give us many functions (i.e. minimum, maximum, sum, traverse, etc) for free.

jeremyjh commented 8 years ago

I don't see why not, do you want to submit a PR?

On Sunday, March 6, 2016, Frank Staals notifications@github.com wrote:

As the title suggests; can we add Foldable and Traversable instances? This would give us many functions (i.e. minimum, maximum, sum, traverse, etc) for free.

— Reply to this email directly or view it on GitHub https://github.com/sw17ch/data-clist/issues/9.

jeremyjh commented 8 years ago

Fixed by #10