darcs patch: New function isInfixOf that searches a list for a
give...
Henning Thielemann
lemming at henning-thielemann.de
Fri Sep 1 06:09:19 EDT 2006
On Fri, 1 Sep 2006, Ross Paterson wrote:
> On Thu, Aug 31, 2006 at 06:34:35PM -0700, Clifford Beshers wrote:
> > These two jump to mind:
> >
> > isSublistOf
> > isSubsequenceOf
>
> Sublist seems boringly accurate. Also, the definition could be
'isInfixOf' is not the name I would search for, but if I find it (say by
Hoogle) I would know that I found the right one. It is just analogous to
'isPrefixOf' and 'isSuffixOf' and thus it gets my vote.
More information about the Libraries
mailing list