If you're interested in any of this, let me know, and I can try to make it more usable.
alias hsman="htmlman -d hs -t haddock" alias build-hsman="hsman -b ~/doc/haskell-lib-doc/ /usr/share/doc/ghc*-doc/html/" alias sqman="htmlman -d mysql -t mysql" alias build-sqman="sqman -b ~/doc/mysql/" alias stlman="htmlman -d stl -t stl" alias build-stlman="stlman -b /usr/share/doc/stl-manual/html/". Run build-hsman to create and update the index, and 'hsman foo' to look up symbol 'foo'.