darcs patch: New function isInfixOf that searches a l... (and 1
more)
John Goerzen
jgoerzen at complete.org
Fri Sep 1 10:37:40 EDT 2006
Thu Aug 31 10:15:56 CDT 2006 John Goerzen <jgoerzen at complete.org>
* New function isInfixOf that searches a list for a given sublist
Example:
isInfixOf "Haskell" "I really like Haskell." -> True
isInfixOf "Ial" "I really like Haskell." -> False
This function was first implemented in MissingH as MissingH.List.contains
Fri Sep 1 09:36:54 CDT 2006 John Goerzen <jgoerzen at complete.org>
* Cleaner isInfixOf suggestion from Ross Paterson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-darcs-patch
Size: 33156 bytes
Desc: A darcs patch for your repository!
Url : http://www.haskell.org//pipermail/libraries/attachments/20060901/3d74f88a/attachment-0001.bin
More information about the Libraries
mailing list