corresponding type constructor instead.</para>
<para>Actually, GHC also comes with <command>etags</command>
- [for C], and <Command>perltags</Command> [for You
+ [for C], and <command>perltags</command> [for You
Know What]. And—I cannot tell a lie—there is
- Denis Howe's <Command>fptags</Command> [for Haskell,
+ Denis Howe's <command>fptags</command> [for Haskell,
etc.] in the <Filename>ghc/CONTRIB</Filename>
section…)</para>
<para>Andy Gill and Simon Marlow have written a parser-generator
for Haskell, called
- <Command>happy</Command>.<IndexTerm><Primary>happy parser
- generator</Primary></IndexTerm> <command>Happy</command> is to
+ <command>happy</command>.<indexterm><primary>happy parser
+ generator</primary></indexterm> <command>Happy</command> is to
Haskell what <command>Yacc</command> is to C.</para>
- <para>You can get <Command>happy</Command> from <ulink
+ <para>You can get <command>happy</command> from <ulink
url="http://www.haskell.org/happy/">the Happy
Homepage</ulink>.</para>
<!-- we don't distribute this anymore
<sect1 id="pphs">
- <title>Pretty-printing Haskell: <Command>pphs</Command></title>
+ <title>Pretty-printing Haskell: <command>pphs</command></title>
<indexterm><primary>pphs</primary></indexterm>
<indexterm><primary>pretty-printing Haskell code</primary></indexterm>
<para>Andrew Preece has written
- <Command>pphs</Command>,<IndexTerm><Primary>pphs</Primary></IndexTerm><IndexTerm><Primary>pretty-printing
- Haskell</Primary></IndexTerm> a utility to pretty-print Haskell
+ <command>pphs</command>,<indexterm><primary>pphs</primary></indexterm><indexterm><primary>pretty-printing
+ Haskell</primary></indexterm> a utility to pretty-print Haskell
code in LaTeX documents. Keywords in bolds, variables in
italics—that sort of thing. It is good at lining up program
clauses and equals signs, things that are very tiresome to do by
header file.</para>
<sect2>
- <title>Command line syntax</title>
+ <title>command line syntax</title>
<para><command>hsc2hs</command> takes input files as arguments,
and flags that modify its behavior:</para>
<literal>.hsc</literal> suffix replaced:</para>
<informaltable>
- <tgroup cols=2>
+ <tgroup cols="2">
<tbody>
<row>
<entry><literal>.hs</literal></entry>
in which case you must arrange for the importing
module to <literal>#include</literal> the C header
file generated by <command>hsc2hs</command> (see
- <xref linkend="glasgow-foreign-headers">).
+ <xref linkend="glasgow-foreign-headers"/>).
For this reason we avoid using <literal>#def</literal>
in the libraries.</para></note>
</listitem>