[Haskell-cafe] Roman to Decimal Algorithms

Andrew Savige ajsavige at yahoo.com.au
Sun Jun 7 18:34:50 EDT 2009


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=X3oDMTJxN2x2ZmNpBF9zAzIwMjM2MTY2MTMEdG1fZG1lY2gDVGV4dCBMaW5rBHRtX2xuawNVMTEwMzk3NwR0bV9uZXQDWWFob28hBHRtX3BvcwN0YWdsaW5lBHRtX3BwdHkDYXVueg--/SIG=14600t3ni/**http%3A//au.rd.yahoo.com/mail/tagline/creativeholidays/*http%3A//au.docs.yahoo.com/homepageset/%3Fp1=other%26p2=au%26p3=mailtagline


More information about the Haskell-Cafe mailing list