Proposal: adding 'tailDropWhile' to Data.List

Bryan O'Sullivan bos at
Thu Sep 29 05:34:55 CEST 2011

On Wed, Sep 28, 2011 at 9:19 AM, Kazu Yamamoto <kazu at> wrote:

> Many languages provide the 'chop' or 'trip' function but Data.List
> does not. I would like to add a new function called 'tailDropWhile'
> so that people can easily implement 'chop' for String:

I don't have an opinion on whether or not this should go in, but if the
proposal is accepted, the name of the function should follow the existing
Haskell Platform precedent from the "text" package, and be "dropWhileEnd"
instead of "tailDropWhile".
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Libraries mailing list