git clone 'git://github.com/juiko/company-ghci.git'
Description ———– company-ghci is a company backend that provides completions for the haskell programming language by talking to a ghci process.
company-ghci is available on melpa, so first you will have to configure emacs to use the MELPA repository. Then you can install the package using (package-install).
(require 'company-ghci) (add-to-list 'company-backends 'company-ghci) (add-hook 'haskell-mode-hook 'company-mode) ;;; To get completions in the REPL (add-hook 'haskell-interactive-mode-hook 'company-mode)