hoogle icon indicating copy to clipboard operation
hoogle copied to clipboard

Is it possible to search by partial signature?

Open tankorsmash opened this issue 2 years ago • 0 comments

I've been enjoying Hoogle a lot, it makes it a lot easier to get acclimated to a new codebase, and it works so quickly too. I've got a common enough issue though, say I'm looking through a library I'm not familiar with and I know I want to use specific type in a function, but I don't know which position in the argument list it is, is there a way to do that?

For example in discord-haskell, I want to learn more about Button. I can search '+discord-haskell ActionRow' (coloring by aft), which'll return something that includes [Button] in its signature

image

but '+discord-haskell Button' doesn't list that same function:

image

Is there a way to use wildcards maybe? I looked through the manual and it doesn't seem possible, but it would be nifty to do for sure!

I was effectively hoping to do something like +discord-haskell *Button* or +discord-haskell -> Button to be able to search through function signatures.

Thanks for making Hoogle!

tankorsmash avatar Sep 10 '23 21:09 tankorsmash