ndmitchell / hoogle

Haskell API search engine
http://hoogle.haskell.org/
Other
738 stars 134 forks source link

Make sure result types and argument types are distinguished #242

Open adius opened 6 years ago

adius commented 6 years ago

I just accidentally landed on hoogle.haskell.org and was really confused why the results are so bad. Until (after way too much googling) I realized I that hoogle.haskell.org is some kind of alpha version and haskell.org/hoogle is the real deal.

Can you please rename this URL or remove it entirely? It doesn't feel very Haskell like to give me URLs without type safety 😂.

ndmitchell commented 6 years ago

The new hoogle.haskell.org is much better in many ways, and the plan is to switch over to it. Could you detail some of the queries you tried that gave you much worse results? I assume all type-based searches?

adius commented 6 years ago

Ah OK ^^

Yes, I guess they were all type based

ndmitchell commented 6 years ago

Concrete examples of what you tried would be handy as then I can focus on fixing those first.

adius commented 6 years ago

Just really simple things like String -> Int. Only the last entry is really String -> Int all the others are Int -> String 🙈

ndmitchell commented 6 years ago

OK, that's probably fairly simple to fix.

adius commented 6 years ago

(However, the issue still stands. Then the haskell.org/hoogle URL should be renamed / redirected.)

adius commented 6 years ago

It's just crazy that they look the same and have equally official URLs.

ndmitchell commented 6 years ago

Yep, agreed - redirecting the old to the new is something on my todo list! Unfortunately a few jobs got in the way so the situation has persisted years longer than I hoped.