darcs patch: New function isInfixOf that searches a list for a give...

Tomasz Zielonka tomasz.zielonka at gmail.com
Fri Sep 1 01:51:28 EDT 2006

On Thu, Aug 31, 2006 at 08:04:09PM -0500, John Goerzen wrote:
> On Fri, Sep 01, 2006 at 10:54:49AM +1000, Donald Bruce Stewart wrote:
> > For what its worth, this function is known as isSubstringOf in
> > Data.ByteString, though I think I like this name better.
> We had a brief discussion about the name on #haskell today.  I didn't
> care for isSubstringOf in this particular case, since this function
> isn't limited to strings.

It is unfortunate that "strings" are often understood narrowly as
"character strings".

Best regards

More information about the Libraries mailing list