For example, how would I view the docs for Data.List.group as I could on hackage?
If I try to use Haddock as:
$ haddock Data.List
<no location info>: error: module ‘Data.List’ is a package module
$ haddock Data.List.group
target ‘Data.List.group’ is not a module name or a source file
On the other hand, I know that these html docs exist in my computer under the /usr/local/share/doc
directory.
Or am I mistaken and this is not what Haddock does?
haddock
is for generating (not looking up) documentation. – Alec