(Thanks to Isaac for the n00b-friendly instruction link!)
http://hackage.haskell.org/trac/ghc/ticket/3271
Data.Sequence is meant as a general-purpose implementation of finite sequences. The range of methods it offers, however, is considerably more constrained than Data.List, even allowing for the constraint that sequences are finite.
The following methods cannot be efficiently implemented based on currently exported methods from Data.Sequence.
The following methods are relatively simple extensions of already-exported methods. It may be more appropriate to allow library users to reimplement them themselves.
Louis Wasserman wrote:Excellent! Can you make an official "library proposal"? It's not hard.
This patch contains several methods for Data.Sequence I've always thought were long missing:
http://www.haskell.org/haskellwiki/Library_submissions
Basically, see section 2: make a Trac ticket; choose a discussion deadline (perhaps, 2 weeks from now); and then post back on this mailing-list including a link to the ticket, a copy of the description, and stating the end-of-discussion date.
-Isaac