(use-package haskell-mode :ensure t :init (progn (add-hook 'haskell-mode-hook 'turn-on-haskell-doc-mode) (add-hook 'haskell-mode-hook 'turn-on-haskell-simple-indent) (add-hook 'haskell-mode-hook 'interactive-haskell-mode) ) (setq haskell-stylish-on-save t)) (use-package ghc :ensure t :config (add-hook 'haskell-mode-hook 'ghc-init) :bind (("C-c C-t" . ghc-show-type) ("C-c t" . ghc-show-type))) (use-package hindent :ensure t :config (add-hook 'haskell-mode-hook #'hindent-mode) (setq hindent-style "gibiansky"))