flycheck-hdevtools

https://github.com/flycheck/flycheck-hdevtools.git

git clone 'git://github.com/flycheck/flycheck-hdevtools.git'
15

flycheck-hdevtools

Warning: hdevtools is no longer actively maintained, so this code is not actively developed.

This library provides a flycheck checker for Haskell source code using hdevtools. The checker was split out from the main flycheck codebase at the end of November 2013 due to various issues.

hdevtools is a syntax and type checker which caches information in persistent background daemons, and thus checks faster than plain GHC.

Installation

You'll need Emacs 24 for flycheck, so the recommended way to get flycheck-hdevtools is as a package from the MELPA repository. The version of haskell-hdevtools there will always be up-to-date. There are also packages in Marmalade, which track the latest numbered tag.

If you insist on doing things the hard way, first ensure flycheck is installed, then download this code and add the directory to your Emacs load-path.

Then, in your init.el:

(eval-after-load 'flycheck
  '(require 'flycheck-hdevtools))

Make sure that the hdevtools binary is present on Emacs' exec-path, or customize flycheck-haskell-hdevtools-executable to point to the hdevtools binary.

Usage

When flycheck is enabled (e.g. with global-flycheck-mode), Haskell buffers will be automatically checked using this checker.

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

See COPYING for details.

About

flycheck-hdevtools is code originally submitted to flycheck by Steve Purcell.


Author links:

Steve Purcell's blog // @sanityinc on Twitter