What are the possibilities, if any, for getting offline docs for Haskell core libraries (and maybe more)?
Sometimes I take my laptop to the coffee-shop where there is no
Edit your ~/.cabal/config file. Look for the line (probably commented out) that says documentation: False
. Change that line to documentation: True
and uncomment it. Now when you build projects with cabal install
documentation will also be built and saved locally.
Look around a little more in that same config file and you'll find things options like doc-index-file, docdir, datadir, prefix, etc that allow you to configure where the documentation is stored.