
7 Jun
2009
7 Jun
'09
10:34 p.m.
Tillmann Rendel wrote:
Have you tried hoogle?
http://haskell.org/hoogle/?hoogle=String+-%3E+Maybe+Int
This suggests Data.List.elemIndex.
Hadn't heard of hoogle before. Will use it from now on though. :) Hoogle's suggestion of Data.List.elemIndex works like a charm. Thanks, /-\ Need a Holiday? Win a $10,000 Holiday of your choice. Enter now.http://us.lrd.yahoo.com/_ylc=X3oDMTJxN2x2ZmNpBF9zAzIwMjM2MTY2MTMEdG1fZG1lY2g...