ndmitchell / hoogle

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

+ not found in Prelude #211

Open ndmitchell opened 7 years ago

ndmitchell commented 7 years ago

See http://hoogle.haskell.org/?hoogle=%2B - observe base/Prelude is not a listed answer.

ndmitchell commented 7 years ago

Looking at the file file http://hackage.haskell.org/package/base-4.10.0.0/docs/base.txt, I see:

(+, -, *) :: Num a => a -> a -> a
(+, -, *) :: Num a => a -> a -> a
(+, -, *) :: Num a => a -> a -> a

So I guess treating that specially, and deduplicating. Or alternatively, special case those 3.