I've been working on more Haddock HTML enhancements and I'm ready to demo it to more people.
The new feature are:
- hovering over an imported symbol will display a tool tip telling you from what module the symbol was imported.
- clicking on a symbol or name will tell you the type of the expression. Then you can press 'a' to expand the selection to the parent expression and the type of that will be shown. You can press 'a' multiple times until you get to a top-level expression. Pressing 's' will shrink the selection back down.
I've set up a demo at:
If you drill down to a hyperlinked-source page, e.g.:
and hover over, e.g., `shiftR` you should see "Imported from Data.Bits" pop up.
Also by clicking on that `shiftR` and you should see it's type (in context).
Then try pressing the 'a' key and 's' keys.
So check it out and let me know what you think.