Skip to content

Is it possible to search by partial signature? #413

@tankorsmash

Description

@tankorsmash

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!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions