Commit 54ecd8a2 authored by simonmar's avatar simonmar
Browse files

[project @ 2001-01-18 15:19:42 by simonmar]

DocBook police
parent 2798c360
......@@ -184,7 +184,7 @@ Only relevant if you also use <Option>-fglasgow-exts</Option>.
<Term> <Option>-finline-phase</Option>:</Term>
<ListItem>
<Para> See <XRef LinkEnd="rewrite-rules">.
Only relevant if you also use <Option>-fglasgow-exts</Option>.
Only relevant if you also use <Option>-fglasgow-exts</Option>.</para>
</ListItem> </VarListEntry>
<VarListEntry>
......@@ -196,6 +196,7 @@ Independent of <Option>-fglasgow-exts</Option>.
</ListItem> </VarListEntry>
</VariableList>
</sect1>
<Sect1 id="primitives">
<Title>Unboxed types and primitive operations
......@@ -381,8 +382,8 @@ Note: we may relax some of these restrictions in the future.
</Para>
<Para>
The <Literal>IO</Literal> and <Literal>ST</Literal> monads use unboxed tuples to avoid unnecessary
allocation during sequences of operations.
The <Literal>IO</Literal> and <Literal>ST</Literal> monads use unboxed
tuples to avoid unnecessary allocation during sequences of operations.
</Para>
</Sect2>
......@@ -390,16 +391,14 @@ allocation during sequences of operations.
<Sect2>
<Title>Character and numeric types</Title>
<Para>
<IndexTerm><Primary>character types, primitive</Primary></IndexTerm>
<IndexTerm><Primary>numeric types, primitive</Primary></IndexTerm>
<IndexTerm><Primary>integer types, primitive</Primary></IndexTerm>
<IndexTerm><Primary>floating point types, primitive</Primary></IndexTerm>
<Para>
There are the following obvious primitive types:
</Para>
<Para>
<ProgramListing>
type Char#
type Int#
......@@ -419,7 +418,6 @@ type Word64#
<IndexTerm><Primary><literal>Double&num;</literal></Primary></IndexTerm>
<IndexTerm><Primary><literal>Int64&num;</literal></Primary></IndexTerm>
<IndexTerm><Primary><literal>Word64&num;</literal></Primary></IndexTerm>
</Para>
<Para>
If you really want to know their exact equivalents in C, see
......
......@@ -396,7 +396,7 @@ tags:
or be empty) applied to the appropriate integer value. You can
have multiple <literal>#enum</literal> definitions with the same
<literal>type</literal>; this construct does not emit the type
definition itself.
definition itself.</para>
</listitem>
</varlistentry>
</variablelist>
......@@ -425,7 +425,7 @@ tags:
macro whose expansion uses other <literal>#let</literal> macros.
Plain <literal>#let</literal> prepends <literal>hsc_</literal>
to the macro name and wraps the defininition in a
<literal>printf</literal> call.
<literal>printf</literal> call.</para>
</sect2>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment