[Haskell-cafe] List operation question

Yitzchak Gale gale at sefer.org
Sun Feb 4 14:27:10 EST 2007

Nicolas Frisby wrote:
> I've always thought that when certain operations are of particular
> interest, it's time to use more appropriate data structures, right?
> Lists are great and simple and intuitive, but if you need such
> operations as shifts, something like a deque is the way to go.

This sounds like a job for Data.Sequence.


More information about the Haskell-Cafe mailing list