Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to search by partial signature? #413

Open
tankorsmash opened this issue Sep 10, 2023 · 0 comments
Open

Is it possible to search by partial signature? #413

tankorsmash opened this issue Sep 10, 2023 · 0 comments

Comments

@tankorsmash
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant