From the webpage:
Scaladoc Index
Much like Hoogle for Haskell, Scalex lets you find Scala functions quickly.
map
Search for the text “map”list map
Search for the text “list” and the text “map”A => A
Search for the type “A => A”: A => A
Search for the type “A => A”a
Search for the text “a”map : List[A] => (A => B) => List[B]
Search for the text “map” and the type “List[A] => (A => B) => List[B]”Searches can be either textual (a list of words), or by type (a type signature) or both. A type search may optionally start with a
:
symbol. A search is considered a text search unless it contains a combination of text and symbols, or if it starts with:
. To search for both a type and a name, place a : between them, for examplesize : List[A] => Int
It occurs to me that a topic map version of such a resource could have “occurrences” of functions drawn from a code base that exist in associations with known programs and programmers. As an added resource to see how things are done with a particular function by experts.
Without documentation of the surrounding code that might be less useful than one would otherwise think but all good code is documented, isn’t it? 😉