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

John Goerzen jgoerzen at complete.org
Thu Aug 31 11:39:05 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-darcs-patch
Size: 32398 bytes
Desc: A darcs patch for your repository!
Url : http://www.haskell.org//pipermail/libraries/attachments/20060831/0c0b23c0/attachment-0001.bin


More information about the Libraries mailing list