1. xemacs
  2. haskell-mode


haskell-mode / index.html


<TITLE>Haskell Mode for Emacs</TITLE>


<H1>Haskell Mode for Emacs</H1>

<P>The Haskell mode itself is very basic, but provides a base on which to
build modules.  The currently supported modules are:</P>


<LI>Font Locking: Colours keywords, comments, strings, etc.

<LI>Declaration Scanning: Scans declarations and places them in a
menu. <em>Seems to hang on some files.</em>

<LI>Documentation: Echoes types of functions or syntax of keywords
when the cursor is idle. <em>Not up-to-date for Haskell-98.</em>

Provides semi-automatic intelligent indentation.

<LI>Simple Indentation: Provides simple indentation.

Interaction</A>: Allows interaction with the Hugs interpreter.

Interaction</A>: Allows interaction with the GHCi interpreter.

<EM>Work on further modules is encouraged!  Please <A
HREF="mailto:simonmar@microsoft.com">mail</A> if you have an idea, or a
module we might hook into.</EM>

<P><A HREF="haskell-mode-1.45.tar.gz">The latest versions of the basic
mode and the above modules</A>.</P>

<P>The basic mode was written by Graeme E Moss, Tommy Thorn and Simon
Marlow.  Modules with their own links above are maintained by their
authors; the rest are looking for a maintainer (please volunteer!). These
modules support Haskell 98, except where stated, and have been tested on
GNU Emacs versions 19.34 and 20.7, and XEmacs versions 21.1.14 and 21.4.x.
Please mail bugs and suggestions to the maintainer of the appropriate
module.  General comments can be mailed to <A
HREF="mailto:simonmar@microsoft.com">Simon Marlow</a>. When mailing, quote
the version of the module or mode you are using, the version of Emacs you
are using, and a small example of the problem or suggestion.  Please check
the list of known problems (towards the start of each relevant file)
before doing so.</P>

<P><STRONG><A HREF="installation-guide.html">A guide on how to install
and customise the mode</A></STRONG>.</P>

<P>To test the mode:</P>


<LI>To test font locking, declaration scanning, and documentation
modules, try them on <A HREF="fontlock.hs">the Haskell
script</A> used to illustrate these modules in action.

<LI>To test indentation and simple indentation modules, try them on <A
HREF="indent.hs">this Haskell script</A>.