ndmitchell / hoogle

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

Search based on superclasses #221

Open Risto-Stevcev opened 7 years ago

Risto-Stevcev commented 7 years ago

Maybe it could be part of #213 , but it would be nice if there were a way to find all typeclasses that match some superclass constraint

Maybe some syntax like:

Functor f => a

would return something like:

class Functor f => Applicative f
...

It would be useful for finding new abstractions