I find myself using the search functionality in scaladoc quite a lot - one of the things I think would be invaluable would be to have the facility to search by type signature. Especially in larger libraries, I can’t always remember the name of a function, but I do know what type it takes as an input or output (being a functional programmer ). Wouldn’t it be useful to be able to search by the type?
As an example, typing in Codec[Boolean]
might filter all methods that take such a value as an argument or output. It would also be nice to be able to be even more specific by saying e.g. returns:Codec[Boolean]
.
Currently writing in a type (e.g. Unit
) doesn’t match anything.