hoogle icon indicating copy to clipboard operation
hoogle copied to clipboard

Make sure result types and argument types are distinguished

Open adius opened this issue 7 years ago • 8 comments

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 😂.

adius avatar Feb 08 '18 15:02 adius

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?

ndmitchell avatar Feb 10 '18 11:02 ndmitchell

Ah OK ^^

Yes, I guess they were all type based

adius avatar Feb 10 '18 11:02 adius

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

ndmitchell avatar Feb 10 '18 11:02 ndmitchell

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

adius avatar Feb 10 '18 11:02 adius

OK, that's probably fairly simple to fix.

ndmitchell avatar Feb 10 '18 11:02 ndmitchell

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

adius avatar Feb 10 '18 11:02 adius

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

adius avatar Feb 10 '18 11:02 adius

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.

ndmitchell avatar Feb 10 '18 11:02 ndmitchell