patch applied (packages/base): New function isInfixOf that searches a list for a given sublist

Ian Lynagh igloo at earth.li
Mon Sep 4 11:11:24 EDT 2006


Thu Aug 31 08:15:56 PDT 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

    M ./Data/List.hs +12


More information about the Cvs-libraries mailing list