I'm learning Haskell. One of first steps was to make pleasant development environment. I've already found haskell-mode
, intero
and some more useful packages but I miss offline/online documentation for the symbol at point.
What I've already found looks alike what I need is this but have no success with configuration. I have cabal
installed from haskell-platform
on ubuntu 14.04
but don't have ~/.cabal/share/doc/
. What I expect is when the cursor is on e.g. repeat
function and C-c C-d
is presed it shows the some documentation for the function. It's nice to have some basic information about function signature in mini buffer but for a newcomer it would be great to have access to full documentation.
What is prefered way to get symbols full documentation inside Emacs?
haskell-platform
. Instead, configure haskell to usehaskell-stack
. Get rid of all traces ofhaskell-platform
.intero
is made to work with stack. And, I had created an issue very similar to this in interos github page and apparently, they will add haddock support to intero in the future. ATM, the best way to get documentation inside of emacs might behelm-dash
.haskell-mode
. Btw, it is good enouth to me. Also,intero
support for documentation would be much more pleasant. :)