     (interactive)
     (haskell-session-change))
 
-  ;; (haskell-stylish-on-save)
-  ;; (add-hook 'haskell-mode-hook
-  ;;           (lambda ()
-  ;;             (set (make-local-variable 'company-backends)
-  ;;                  (append '((company-capf company-dabbrev-code))
-  ;;                          company-backends))))
   (setq-default haskell-stylish-on-save t)
-  (custom-set-variables
-   '(haskell-tags-on-save t)
-   '(company-ghc-show-info t)
-   '(haskell-process-auto-import-loaded-modules t)
-   '(haskell-process-log t)
-   '(haskell-process-suggest-remove-import-lines t)
-   '(haskell-process-type 'cabal-repl)
-   )
 
   (evil-leader/set-key-for-mode 'haskell-mode
     "." 'haskell-mode-jump-to-def-or-tag

        haskell-process-suggest-remove-import-lines t
        haskell-process-auto-import-loaded-modules t
        haskell-stylish-on-save t
        )
  :config
  (use-package cmm-mode :ensure t :defer t)

  (use-package company-ghc
    :ensure t
    :defer t
    :config
    (add-to-list 'company-backends '(company-ghc :with company-dabbrev-code))
    )

  (use-package company-cabal
    :ensure t
    :defer t
    :config
    (add-to-list 'company-backends 'company-cabal))


;;; Commentary:

;;; Code:
(use-package haskell-mode
  :ensure t
  :init
  (add-hook 'haskell-mode-hook 'ghc-init)
  (setq haskell-notify-p t
        haskell-tags-on-save t
