Haskell offline documentation?

前端 未结 9 1897
一整个雨季
一整个雨季 2021-01-30 01:13

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

9条回答
  •  死守一世寂寞
    2021-01-30 02:02

    If you happen to be using a Debian derived distribution and their packages, then you will find the combined documentation of all installed Haskell packages (if you also install the libghc-foo-doc packages) at

    file:///usr/share/doc/ghc-doc/html/libraries/index.html
    

    Furthermore, the libghc-foo-doc packages contain the necessary files for hoogle, so if you apt-get install hoogle, then you should immediately be able to use hoogle to search through all libraries installed this way.

提交回复
热议问题