Is hoogle a special search engine for Haskell code or was that an unintentional typo?
Note that this is true even though I reversed the argument order. It does fuzzy-matching of some sort. It will also help if you know the name of the function, since it searches those, too.
You don't search for words in the documentation etc., but enter the type of the function you want. This often works pretty well.
For beginners who are likely to be searching for core libraries, the other Hoogle might be more useful.
So you can give it "blah" and "Blah" and it would find the method "capitalize" for instance.
Hoogle is like that but for Haskell, and instead of giving inputs and outputs you give it a few types and it looks for them in the function signatures.