Search Haskell APIs with Hoogle - find functions by name or type signature
Searches Haskell APIs by function name or type signature using Hoogle.
/plugin marketplace add m4dc4p/claude-hoogle/plugin install m4dc4p-hoogle@m4dc4p/claude-hoogleSearch Haskell APIs using Hoogle. You can search by:
map, filter, foldla -> b -> a, (a -> Bool) -> [a] -> [a]+base map, +containers lookupUser query: $ARGUMENTS
First, check if this is a search query or if the user needs help:
Run the Hoogle search:
${CLAUDE_PLUGIN_ROOT}/scripts/hoogle-search.sh "$ARGUMENTS" --count 10
If the search fails with a database error:
${CLAUDE_PLUGIN_ROOT}/scripts/hoogle-init-db.sh to generate itPresent results clearly:
For type signature searches, explain what the type means in plain language.
For each relevant result, show:
functionName :: TypeSignatureModule.Name (package-name)If the user asks for details on a specific result, use --info to get full documentation.