Proposal: adding 'tailDropWhile' to Data.List

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


On Wed, Sep 28, 2011 at 9:19 AM, Kazu Yamamoto <kazu at iij.ad.jp> 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: <http://www.haskell.org/pipermail/libraries/attachments/20110929/9c3ee74f/attachment.htm>


More information about the Libraries mailing list