purescript / pursuit

Website for hosting and searching PureScript API documentation
https://pursuit.purescript.org/
Other
169 stars 47 forks source link

Rank class members higher in search results #362

Open houli opened 6 years ago

houli commented 6 years ago

The issue can be demonstrated using the example search of (a -> b) -> f a -> f b The functions liftA1 and liftM1 get higher priority than map. Class members with the same signature as other functions are probably more useful/general than those other top-level functions.

hdgarrood commented 6 years ago

This is an interesting idea. I'm not completely convinced that class members are going to be more useful in general, I'll have to think about that.