Skip to content

Instantly share code, notes, and snippets.

@beala
Last active August 29, 2015 14:05
Show Gist options
  • Save beala/168c631222261a1633ed to your computer and use it in GitHub Desktop.
Save beala/168c631222261a1633ed to your computer and use it in GitHub Desktop.
emacs config for haskell-mode with cabal repl
(add-to-list 'load-path "~/src/haskell-mode")
(load "haskell-mode-autoloads.el")
(add-hook 'haskell-mode-hook 'interactive-haskell-mode)
(add-hook 'haskell-mode-hook 'turn-on-haskell-indent)
(custom-set-variables
'(haskell-process-suggest-remove-import-lines t)
'(haskell-process-auto-import-loaded-modules t)
'(haskell-process-log t)
'(haskell-process-type 'cabal-repl)) ;; Configure haskell-mode to use sandboxes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment