ndmitchell / hoogle

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

Search for class instances #349

Open yaitskov opened 4 years ago

yaitskov commented 4 years ago

Hi,

I guess it would be cool to have an ability to search for orphan class instances. For example I looking for a library which could convert AST to String or Json.

"instance ToJson (HsExpr )" "instance Show HsDecl "

ndmitchell commented 4 years ago

Orphan instances in Haskell are super discouraged. Having them in libraries often causes people to be bitten later - both with conflicts and because they are hard to find. I'm not sure they are popular enough to support specially.