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

Clifford Beshers clifford.beshers at linspire.com
Thu Aug 31 21:34:35 EDT 2006

John Goerzen wrote:
> 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.  On the other hand, isInfixOf isn't a
> particularly intuitive name either, so suggestions would be good.

These two jump to mind:


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org//pipermail/libraries/attachments/20060831/d4e59f0a/attachment.htm

More information about the Libraries mailing list