Proposal/Patch: Add findSublistIndex in Data.List

Henning Thielemann lemming at
Sat Jun 16 13:00:30 CEST 2012

On Sat, 16 Jun 2012, Carlos López Camey wrote:

>> How about:
>> findIndex (isPrefixOf "def") $ tails "abcdefgh"
> I find that much better :-)

Maybe we could add advanced uses of functions from Data.List to their 
Haddock documentation. But where to add this example? To 'isPrefixOf' or 
'findIndex' or 'tails'? Or you might setup a HaskellWiki page listing such 

More information about the Libraries mailing list