How is your :hoogle
command is defined in your .ghci
file?
I have:
:def hoogle \x -> return $ ":!hoogle \"" ++ x ++ "\""
and your example works for me.
To debug the problem further, try (note the !
):
:!hoogle +System.Directory directory
This directly executes the hoogle
function on your system - so if that doesn't work it's a problem with your hoogle
executable.