I recently started learning Haskell and switched over to Emacs as well.
I've installed haskell-mode
.
This is what my haskell
section in my .emacs
file looks like
79 (add-hook 'haskell-mode-hook 'font-lock-mode)
80 (add-hook 'haskell-mode-hook 'interactive-haskell-mode)
81 (add-to-list 'company-backends 'company-ghc)
82 (custom-set-variables
83 '(haskell-stylish-on-save t))
What I want to know is: if it's possible to get an IDE like autocomplete feature in emacs, where partially typing a function (user defined/from imported packages/from base) shows you its type and general info like you can get from hoogle
search?
A brief search got me to This question which has a latest answer from 2014. I'm not sure if things have changed since.
I also found out about tags
with hasktags
or fast-tags
but I'm not sure how to apply those methods to get autocomplete suggestions from imported packages or getting doc about written functions.