views:

340

answers:

3

Hoogle allows you to search many standard Haskell libraries by either function name, or by approximate type signature. I find it very useful. Is there anything like Hoogle for Scala? Search in ScalaDoc 2 only finds types and packages by name.

+6  A: 

It's a pity that it does not even have an index like javadoc. Hoogle is nicer, though.

I use a personal search engine from Google to search the Scaladocs.

A search provider (searching with site:http://www.scala-lang.org/docu/files/api) in Firefox is another way to search the docs.

Both do not work well for the Scala 2.8. release - it's not indexed well enough to be useful - and works not with all operators. For example a search for Cons :: returns only nonsense.

Thomas Jung
+1  A: 

If you think of building a search engine, shouldn't the format conform to the w3c-standards first?

Checking a scala-doc page, or scala-doc 2, I get 50/128 errors. Ouch!

Examples: scala-doc, scala-doc 2

user unknown
+4  A: 

There are plans to make the Hoogle interface work with multiple languages: http://code.google.com/p/ndmitchell/issues/detail?id=45

Neil Mitchell