Scala Hoogle equivalent?
Asked Answered
L

3

67

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.

Lohman answered 20/5, 2010 at 11:41 Comment(1)
Note Haskell also has Hayoo, which is a bit fancier, holumbus.fh-wedel.de/hayoo/hayoo.html Type-based doc indexing seems to be unique to Haskell at the moment.Expressly
H
2

Scaladoc for Scala 3 has Hoogle-like searches feature. You can try it out here.

It uses Inkuire search engine.

Hefner answered 3/9, 2021 at 7:34 Comment(0)
M
11

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.

Middleweight answered 20/5, 2010 at 11:59 Comment(0)
A
11

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

Albuminoid answered 25/5, 2010 at 3:22 Comment(0)
H
2

Scaladoc for Scala 3 has Hoogle-like searches feature. You can try it out here.

It uses Inkuire search engine.

Hefner answered 3/9, 2021 at 7:34 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.