Haskell Browser

The Haskell Browser provides several ways to inspect the packages available in your system and read the documentation for their modules. To start using it, you must open the Haskell Browser perspective by either goint to Window > Open Perspective > Other... or clicking the + button in the upper right corner and selecting Haskell Browser from the list that will appear.

You will see four views in the top part of Eclipse, named Packages, Modules, Types and Functions. In each of it, clicking an item will show its documentation in the bottom part of the corresponding view, and double-clicking it will open a window with Hackage documentation in HTML. Of course, it will also change the other views (selecting a new package changes the list of modules, selecting a new module the list of types and functions).

Here are some tips for working with each view:

Hoogle

In the Haskell perspective, you may notice that a Hoogle view is available. This allows you to search your package database using the Hoogle technology. Just write a query in the search box, and the results will be shown under it, along with documentation and information of where (package and module) to find the item.

Tip: you can search not only by name but also by type. To do that, write your query with a double colon in the front. For example, querying :: (a -> b) -> [a] -> [b] will return map among the results.