[racket-dev] Roogle?

From: Asumu Takikawa (asumu at ccs.neu.edu)
Date: Fri Aug 5 00:29:26 EDT 2011

On 2011-08-05 00:08:03 -0400, Eli Barzilay wrote:
> Are there any *practical* uses for that thing?

It could be useful if you have an idea of the name of the thing you're
looking for and then want to narrow it down by type. Or you know you
want a higher order function that works on a list but don't know where
it is (so you look up "(a -> b) -> [a]"). 

The first example on Hoogle for that search is in GHC.Exts so if that's
what you wanted it would be harder to find by browsing.

That said, I'm not a heavy Hoogle user so I don't know.

> That won't be hard in itself, but the real problem is huge blocks of
> text in the results which would make it much less useful.

I think this would be a more useful feature than the searching. Maybe it
could display optionally or truncated if it's too long.

Another nice thing Hoogle does is search Hackage, but I think that's
been discussed here before (and probably depends on how packages end up?).


Posted on the dev mailing list.