ghc-mod/hcar-ghc-mod.tex

42 lines
1.7 KiB
TeX
Raw Normal View History

2013-04-24 06:53:59 +00:00
% ghcmodHappyHaskellProgram-Kg.tex
2013-04-24 06:12:53 +00:00
\begin{hcarentry}[updated]{ghc-mod --- Happy Haskell Programming}
2014-04-30 03:40:41 +00:00
\report{Kazu Yamamoto}%05/14
2013-04-24 06:12:53 +00:00
\status{open source, actively developed}
\makeheader
2014-04-30 03:40:41 +00:00
{\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.
2013-04-24 06:12:53 +00:00
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.
2014-04-30 03:40:41 +00:00
\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.
2013-04-24 06:12:53 +00:00
2014-04-30 03:40:41 +00:00
\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}
2013-04-24 06:12:53 +00:00
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.
\item[Expression type] You can display the type/information of the expression on the cursor.
\end{description}
2013-11-15 01:29:13 +00:00
\noindent
2013-04-24 06:12:53 +00:00
There are two Vim plugins:
\begin{itemize}
\item ghcmod-vim
\item syntastic
\end{itemize}
2013-11-15 01:29:13 +00:00
\noindent
2013-04-24 06:22:49 +00:00
Here are new features:
\begin{itemize}
2014-04-30 03:40:41 +00:00
\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.
2014-05-21 00:18:51 +00:00
\item GHC 7.8 is supported.
2013-04-24 06:22:49 +00:00
\end{itemize}
2013-04-24 06:12:53 +00:00
\FurtherReading
\url{http://www.mew.org/~kazu/proj/ghc-mod/en/}
\end{hcarentry}