
16 Jun
2012
16 Jun
'12
7 a.m.
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 examples.