[Haskell-cafe] efficient chop

Ivan Lazar Miljenovic ivan.miljenovic at gmail.com
Wed Sep 14 05:33:33 CEST 2011

On 14 September 2011 13:29, Kazu Yamamoto <kazu at iij.ad.jp> wrote:
> Hello,
> Of course, I use ByteString or Text for real programming. But I would
> like to know whether or not there are any efficient methods to remove
> a tail part of a list.

I doubt it; lists aren't that great a data type if you want to keep
manipulating the end all the time.  You'd have more luck with a
Sequence or some other data type.

Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com

More information about the Haskell-Cafe mailing list