Closed paf31 closed 9 years ago
We faced the same issue in Hayoo. Take a look at https://github.com/hunt-framework/hayoo/blob/master/hayooIndexer/src/Hayoo/PackageRank.hs
It ranks a package by how many packages depend on it (transitively). You can use the ranks to boost types and functions. It is self-contained and could serve as a starting point for pursuit.
Oh, awesome - thank you!
Resolved now that we switched to using Hoogle for searches.
Searching for
flip
doesn't even showflip
because there are so many instances for theFlip
type constructor and we only pick the top 20. We should sort the results based on relevance.