[Haskell-cafe] Hayoo and Hoogle (beginner question)

Roel van Dijk vandijk.roel at gmail.com
Mon Dec 7 04:28:49 EST 2009


On Mon, Dec 7, 2009 at 10:24 AM, Lyndon Maydwell <maydwell at gmail.com> wrote:
> I had heard that Hoogle actually compiled any type-signatures, where
> as Hayoo just did a text comparison.
>
> I'm not actually sure if this is true or not though.
>
> If it is, it would mean that "[q] -> [r] -> [(q,r)]" would return zip
> in Hoogle, but not Hayoo.
>
> Am I right about this?

You are right:

http://haskell.org/hoogle/?hoogle=[q]%20-%3E%20[r]%20-%3E%20[%28q%2Cr%29]

But Hayoo searches all of hackage while Hoogle also searches a lot,
but not all. If I'm searching for a function that is probably in base
or containers, I use hoogle. Otherwise I use hayoo. In short: They are
both very useful.


More information about the Haskell-Cafe mailing list