This commit is contained in:
Kazu Yamamoto 2014-04-30 12:40:41 +09:00
parent 14f5768c90
commit 506d8f1baa
1 changed files with 7 additions and 6 deletions

View File

@ -1,19 +1,19 @@
% ghcmodHappyHaskellProgram-Kg.tex
\begin{hcarentry}[updated]{ghc-mod --- Happy Haskell Programming}
\report{Kazu Yamamoto}%11/13
\report{Kazu Yamamoto}%05/14
\status{open source, actively developed}
\makeheader
{\tt ghc-mod} is a backend command to enrich Haskell programming on editors including Emacs, Vim and Sublime. The ghc-mod package on Hackage includes the {\tt ghc-mod} command and Emacs front-end.
{\tt ghc-mod} is a package to enrich Haskell programming on editors including Emacs, Vim and Sublime. The {\tt ghc-mod} package on Hackage includes the {\tt ghc-mod} command, new {\tt ghc-modi} command and Emacs front-end.
Emacs front-end provides the following features:
\begin{description}
\item[Completion] You can complete a name of keyword, module, class, function, types, language extensions, etc.
\item[Code template] You can insert a code template according to the position of the cursor. For instance, ``module Foo where'' is inserted in the beginning of a buffer.
\item[Code template] You can insert a code template according to the position of the cursor. For instance, {\tt import Foo (bar)} is inserted if {\tt bar} is missing.
\item[Syntax check] Code lines with error messages are automatically highlighted thanks to flymake. You can display the error message of the current line in another window. {\tt hlint} %\cref{hlint}
\item[Syntax check] Code lines with error messages are automatically highlighted. You can display the error message of the current line in another window. {\tt hlint} %\cref{hlint}
can be used instead of GHC to check Haskell syntax.
\item[Document browsing] You can browse the module document of the current line either locally or on Hackage.
@ -31,8 +31,9 @@ There are two Vim plugins:
\noindent
Here are new features:
\begin{itemize}
\item {\tt ghc-mod} now supports the sandbox of {\tt cabal} 1.18 and stopped supporting the sandbox of {\tt cabal-dev}.
\item The ghc-mod package also provides a library now.
\item New {\tt ghc-modi} command provides a persistent session to make response time drastically faster. So, now you can use Emacs front-end without stress.
\item Emacs front-end provides a way to solve the import hell.
\itme GHC 7.8 was supported.
\end{itemize}
\FurtherReading