Initial Commit
[packages] / xemacs-packages / haskell-mode / index.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
2  "http://www.w3.org/TR/html4/strict.dtd">
3 <html><head>
4
5 <title>Haskell Mode for Emacs</title>
6
7 </head><body>
8
9 <h1>Haskell Mode for Emacs</h1>
10
11 <p>The Haskell mode itself is very basic, but provides a base on which to
12   build modules.  The currently supported modules are:</p>
13
14 <ul>
15   <li>Font Locking: Colours keywords, comments, strings, etc.
16
17   <li>Declaration Scanning: Scans declarations and places them in a
18     menu.  <em>Seems to hang on some files.</em>
19
20   <li>Documentation: Echoes types of functions or syntax of keywords
21     when the cursor is idle.  <em>Not up-to-date for Haskell-98.</em>
22
23   <li><a HREF="http://www.iro.umontreal.ca/~lapalme/layout/">Indentation</a>:
24     Provides semi-automatic intelligent indentation.
25
26   <li>Simple Indentation: Provides simple indentation.
27
28   <li>Interaction with an inferior Haskell interpreter.  This module
29     supersedes the previous two modules:
30     <ul>
31       <li><a HREF="http://www.iro.umontreal.ca/~lapalme/Hugs-interaction.html">
32           Hugs Interaction</a>: Allows interaction with the Hugs interpreter.
33
34       <li><a HREF="http://home.arachsys.com/~chris/haskell-ghci.el">GHCi
35           Interaction</a>: Allows interaction with the GHCi interpreter.
36     </ul>
37 </ul>
38
39 <p><em>Work on further modules is encouraged!  Please
40   <a HREF="mailto:monnier@iro.umontreal.ca">mail</a> if you have an idea, or
41   a module we might hook into.</em></p>
42
43 <p><a HREF="haskell-mode-2.1.tar.gz">The latest versions of the basic mode
44     and the above modules</a>.</p>
45
46 <p>The basic mode was written by Graeme E Moss, Tommy Thorn and Simon
47   Marlow.  Modules with their own links above are maintained by their
48   authors; the rest are looking for a maintainer (please
49   volunteer!).  These modules support Haskell 98, except where stated, and
50   have been tested on GNU Emacs versions 19.34 and 20.7, and XEmacs versions
51   21.1.14 and 21.4.x.  Please mail bugs and suggestions to the maintainer of
52   the appropriate module.  General comments can be mailed
53   to <a HREF="mailto:monnier@iro.umontreal.ca">Stefan
54     Monnier</a>.  When mailing, quote the version of the module or mode you
55   are using, the version of Emacs you are using, and a small example of the
56   problem or suggestion.  Please check the list of known problems (towards
57   the start of each relevant file) before doing so.</p>
58
59 <p><strong><a HREF="installation-guide.html">A guide on how to install
60 and customise the mode</a></strong>.</p>
61
62 <p>To test the mode:</p>
63
64 <ul>
65   <li>To test font locking, declaration scanning, and documentation
66     modules, try them on <a HREF="fontlock.hs">the Haskell
67       script</a> used to illustrate these modules in action.
68
69   <li>To test indentation and simple indentation modules, try them
70     on <a HREF="indent.hs">this Haskell script</a>.
71
72 </ul>
73
74 </body></html>
75