2018-03-21 09:19:37 +08:00
|
|
|
;; -*- lexical-binding: t; no-byte-compile: t; -*-
|
|
|
|
;;; lang/haskell/doctor.el
|
2018-03-13 01:16:16 +08:00
|
|
|
|
|
|
|
(when (featurep! +dante)
|
|
|
|
(unless (executable-find "cabal")
|
2018-07-16 18:50:20 +08:00
|
|
|
(warn! "Couldn't find cabal, haskell-mode may have issues")))
|
2018-03-13 01:16:16 +08:00
|
|
|
|
|
|
|
(when (featurep! +intero)
|
|
|
|
(unless (executable-find "stack")
|
2018-06-28 01:35:41 +08:00
|
|
|
(warn! "Couldn't find stack. Intero will not work")))
|
2018-06-27 01:15:35 +08:00
|
|
|
|
2018-07-16 18:50:20 +08:00
|
|
|
(when (or (featurep! +dante) (featurep! +intero))
|
|
|
|
(unless (executable-find "hlint")
|
|
|
|
(warn! "Couldn't find hlint. Flycheck may have issues in haskell-mode")))
|
|
|
|
|
|
|
|
|