[Haskell-cafe] stripSuffix

Brandon Allbery allbery.b at gmail.com
Wed Jul 18 02:37:30 CEST 2012

On Tue, Jul 17, 2012 at 8:33 PM, Alvaro Gutierrez <radical at google.com>wrote:

> Pardon me if this has been answered before: how come there's a
> stripPrefix in Data.List, but no matching stripSuffix?

Probably because prefixes are easier to do, given the nature of singly
linked lists.

brandon s allbery                                      allbery.b at gmail.com
wandering unix systems administrator (available)     (412) 475-9364 vm/sms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20120717/8b2399c2/attachment.htm>

More information about the Haskell-Cafe mailing list