Proposal: adding 'tailDropWhile' to Data.List

David Virebayre dav.vire+haskell at gmail.com
Wed Sep 28 13:28:10 CEST 2011


2011/9/28 Ivan Lazar Miljenovic <ivan.miljenovic at gmail.com>:

> For this kind of textual task, you _really_ should be using text
> anyway, and this function is already implemented for you:
> http://hackage.haskell.org/packages/archive/text/0.11.1.5/doc/html/Data-Text-Lazy.html#v:stripEnd

Of course, until you work with GUIs (or any other library) that all
use String (well at least wxHaskell does), and you have your code full
of T.unpack and T.pack, yepeeeee !

David.



More information about the Libraries mailing list