16 Jun 2012 13:00
Re: Proposal/Patch: Add findSublistIndex in Data.List
Henning Thielemann <lemming <at> henning-thielemann.de>
2012-06-16 11:00:30 GMT
2012-06-16 11:00:30 GMT
On Sat, 16 Jun 2012, Carlos López Camey wrote: >> How about: >> >> findIndex (isPrefixOf "def") $ tails "abcdefgh" > > I find that much betterMaybe 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.
_______________________________________________ Libraries mailing list Libraries <at> haskell.org http://www.haskell.org/mailman/listinfo/libraries
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.
RSS Feed