
28 Sep
2011
28 Sep
'11
11:58 p.m.
On 29 September 2011 13:34, Bryan O'Sullivan
On Wed, Sep 28, 2011 at 9:19 AM, Kazu Yamamoto
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".
I agree with Bryan regarding the name (though I'm still dubious as to whether it should be in Data.List). -- Ivan Lazar Miljenovic Ivan.Miljenovic@gmail.com IvanMiljenovic.wordpress.com