pursuit
pursuit copied to clipboard
Search within a particular package
In Hoogle, searches can be restricted to a particular package with +packagename, or to avoid a package with -package. https://wiki.haskell.org/Hoogle#Searches
I tried both +purescript-dom id
and -purescript-dom id
on Pursuit and it seems only -packagename
works.
Another idea which might be taken from the Haskell ecosystem is Hackage's s
to bring up a search within package. I like that this is dynamic (it shows results as I type, rather than requiring a page load). If something similar were to be implemented for Pursuit I'd suggest using the now quite common cmd+k
keybinding.
Alternatively (or additionally) there could be a separate search bar on the side for searching/filtering within the package. I really like how this works on the Elm package site, where the search bar is above the side nav list of modules, but when a query is typed, matching exports are listed underneath each matching package.