Open KAction opened 4 years ago
\<shameless plug>
Use starsuit instead. It works differently than pursuit: it allows you to make queries like A -> NonElementParentNode
(yes, with capital A). This query can be described as "something concrete -> NonElementParentNode", rather than "literally forall a. -> NonElementParentNode".
Check out the implementation if you want to understand how exactly search results are sorted.
I use both pursuit and starsuit, they both have pros and cons at processing different types queries.
Thanks for the report. I agree that with a query of a -> NonElementParentNode
, the candidate HTMLDocument -> NonElementParentNode
should score higher than forall a. Ord a => Ring a => a -> a
.
I was trying to figure out how to create object of type
NonElementParentNode
, since it is referenced in type ofselectElementById
. The most oblivious search query:showed only the fact that it is foreign data. What I actually wanted is that I can convert
HTMLDocument
to it link.Attempt to search by function signature
a -> NonElementParentNode
(hello, hoogle) showed totally irrelevant results, likeabs :: forall a. Ord a => Ring a => a -> a
.