Hi List,<br><br>I recently needed a ring structure (circular list with bi-directional access) and didn&#39;t see anything obvious on Hackage. I threw something together fairly quickly and would like some feedback before tossing it on Hackage.<br>
<br>I&#39;d really appreciate if some one would:<br><ol><li>make sure the code looks goodish (127 lines with full docs)<br></li><li>make sure my tests look saneish <br></li></ol>If I hear nothing, I&#39;ll assume wild support and push to Hackage.<br>
<br>Code: <a href="http://github.com/sw17ch/data-ring/blob/master/src/Data/Ring.hs">http://github.com/sw17ch/data-ring/blob/master/src/Data/Ring.hs</a><br>Tests: <a href="http://github.com/sw17ch/data-ring/blob/master/tests/quickcheck.hs">http://github.com/sw17ch/data-ring/blob/master/tests/quickcheck.hs</a><br>
Package Root: <a href="http://github.com/sw17ch/data-ring">http://github.com/sw17ch/data-ring</a><br><br>Thanks ahead of time,<br>John Van Enk<br>