ndmitchell / hoogle

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

Searching for String yields different search results compared to [Char] #294

Open Flogex opened 5 years ago

Flogex commented 5 years ago

When searching for String->[String], I can find results such as lines or words. But these results do not appear when I search for [Char]->[[Char]] although it should be synonym.

ndmitchell commented 5 years ago

They are synonyms - but that doesn't mean that Hoogle treats them as interchangable. It's meant to try and treat them as pretty similar, but not identical, and the current type matching is still undergoing tweaking. I'll take this as another case to look into.