Re: Proposal/Patch: Add findSublistIndex in Data.List

16 Jun
2012
16 Jun
'12
6:29 a.m.
Am 16.06.2012 12:05, schrieb Carlos López Camey:
I think this function might be of help in Data.List. Why I believe it would be good to have it in base: `elem` is accompanied by `findIndex` but `isInfixOf` doesn't have an accompanist.
How about: findIndex (isPrefixOf "def") $ tails "abcdefgh" ?
4721
Age (days ago)
4721
Last active (days ago)
0 comments
1 participants
participants (1)
-
Henning Thielemann