ghci-completion

https://github.com/manzyuk/ghci-completion.git

git clone 'git://github.com/manzyuk/ghci-completion.git'
5

Completion for GHCi commands in inferior-haskell buffers

Purpose

To support completion for GHCi commands (like :load, :module, :set etc.) in inferior-haskell buffers.

Installation

To turn on GHCi commands completion in inferior-haskell buffers, add this to .emacs:

(add-hook 'inferior-haskell-mode-hook 'turn-on-ghci-completion)

Otherwise, call turn-on-ghci-completion.

You may also want to set ghci-completion-ghc-pkg-additional-args to the list of additional argument to supply to ghc-pkg. For example, this variable can be used to specify which database (user or global) or which package config file to use.

Limitations: