 ;;; Commentary:
 
 ;;; Code:
-(require 'company)
 (use-package haskell-mode
   :ensure t
   :init
-  (autoload 'ghc-init "ghc" nil t)
-  (autoload 'ghc-debug "ghc" nil t)
   (add-hook 'haskell-mode-hook 'ghc-init)
   (setq haskell-notify-p t
         haskell-tags-on-save t

        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))



  (use-package hindent
    :ensure t
    :init
    (add-hook 'haskell-mode-hook 'hindent-mode)
    :config
