Skip to content

Commit

Permalink
doc: Fix minor typos
Browse files Browse the repository at this point in the history
Signed-off-by: Christophe de Dinechin <[email protected]>
  • Loading branch information
c3d committed Sep 11, 2020
1 parent b5d82f3 commit 23a4884
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions docs/HANDBOOK.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -1478,7 +1478,7 @@ fractional part.

NOTE: In the rest of the document, other terminologies, such as
_integer_ or _real_ numbers may be applied for whole numbers and
fractional numnbers respectively. This corresponds to numbers having
fractional numbers respectively. This corresponds to numbers having
been given a link:#types[type] for ((evaluation)) purpose. This is notably
the case whenever a computer font is used, e.g. when we refer to
`integer` or `real` values. Except as far as syntax is concerned, this
Expand Down Expand Up @@ -2741,7 +2741,7 @@ expressions:
values to infix, prefix or postfix patterns.
* <<Conditional patterns>> match values based on arbitrary conditions
* <<Literal constants>> match constants with the same value.
* <<Metabox values>> match values computed by the comiler.
* <<Metabox values>> match values computed by the compiler.
* <<Blocks>> change the priority of expressions.
* <<Scope pattern matching>> allows large lists of paraameters to be
passed as argument ina more readable way.
Expand Down Expand Up @@ -2822,7 +2822,7 @@ A type annotation as a sub-pattern declares a parameter:
|==============================================================================
| Parameter pattern | Matched by| Not matched by
| `X:integer` | `42` | `X` (unless bound to an `integer`)
| `seconds as integer` | `42` |`X` (unless bound to constant `integer`)
| `seconds as integer` | `42` |`X` (unless bound to mutable `integer`)
|==============================================================================

Such patterns are called _type annotations_, and are used to perform
Expand Down
8 changes: 4 additions & 4 deletions docs/HANDBOOK.html
Original file line number Diff line number Diff line change
Expand Up @@ -2517,7 +2517,7 @@ <h4 id="numbers"><a class="anchor" href="#numbers"></a><a class="link" href="#nu
<td class="content">
In the rest of the document, other terminologies, such as
<em>integer</em> or <em>real</em> numbers may be applied for whole numbers and
fractional numnbers respectively. This corresponds to numbers having
fractional numbers respectively. This corresponds to numbers having
been given a <a href="#types">type</a> for evaluation purpose. This is notably
the case whenever a computer font is used, e.g. when we refer to
<code>integer</code> or <code>real</code> values. Except as far as syntax is concerned, this
Expand Down Expand Up @@ -4202,7 +4202,7 @@ <h3 id="pattern-matching"><a class="anchor" href="#pattern-matching"></a><a clas
<p><a href="#literal-constants">Literal constants</a> match constants with the same value.</p>
</li>
<li>
<p><a href="#metabox-values">Metabox values</a> match values computed by the comiler.</p>
<p><a href="#metabox-values">Metabox values</a> match values computed by the compiler.</p>
</li>
<li>
<p><a href="#blocks">Blocks</a> change the priority of expressions.</p>
Expand Down Expand Up @@ -4409,7 +4409,7 @@ <h4 id="type-annotations"><a class="anchor" href="#type-annotations"></a><a clas
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>seconds as integer</code></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>42</code></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>X</code> (unless bound to constant <code>integer</code>)</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>X</code> (unless bound to mutable <code>integer</code>)</p></td>
</tr>
</tbody>
</table>
Expand Down Expand Up @@ -13375,7 +13375,7 @@ <h3 id="future-work"><a class="anchor" href="#future-work"></a><a class="link" h
</div>
<div id="footer">
<div id="footer-text">
Last updated 2020-05-22 14:23:03 +0200
Last updated 2020-09-11 06:48:57 +0200
</div>
</div>
<link rel="stylesheet" href="highlight/styles/github.min.css">
Expand Down
Binary file modified docs/HANDBOOK.pdf
Binary file not shown.

0 comments on commit 23a4884

Please sign in to comment.