pursuit icon indicating copy to clipboard operation
pursuit copied to clipboard

Search within a particular package

Open hdgarrood opened this issue 9 years ago • 2 comments

hdgarrood avatar Jan 13 '16 14:01 hdgarrood

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.

kseo avatar Mar 15 '16 15:03 kseo

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.

image image

baffalop avatar Mar 24 '23 21:03 baffalop