Skip to content

Commit 23a4884

Browse files
committed
doc: Fix minor typos
Signed-off-by: Christophe de Dinechin <christophe@dinechin.org>
1 parent b5d82f3 commit 23a4884

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

docs/HANDBOOK.adoc

+3-3
Original file line numberDiff line numberDiff line change
@@ -1478,7 +1478,7 @@ fractional part.
14781478

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

28282828
Such patterns are called _type annotations_, and are used to perform

docs/HANDBOOK.html

+4-4
Original file line numberDiff line numberDiff line change
@@ -2517,7 +2517,7 @@ <h4 id="numbers"><a class="anchor" href="#numbers"></a><a class="link" href="#nu
25172517
<td class="content">
25182518
In the rest of the document, other terminologies, such as
25192519
<em>integer</em> or <em>real</em> numbers may be applied for whole numbers and
2520-
fractional numnbers respectively. This corresponds to numbers having
2520+
fractional numbers respectively. This corresponds to numbers having
25212521
been given a <a href="#types">type</a> for evaluation purpose. This is notably
25222522
the case whenever a computer font is used, e.g. when we refer to
25232523
<code>integer</code> or <code>real</code> values. Except as far as syntax is concerned, this
@@ -4202,7 +4202,7 @@ <h3 id="pattern-matching"><a class="anchor" href="#pattern-matching"></a><a clas
42024202
<p><a href="#literal-constants">Literal constants</a> match constants with the same value.</p>
42034203
</li>
42044204
<li>
4205-
<p><a href="#metabox-values">Metabox values</a> match values computed by the comiler.</p>
4205+
<p><a href="#metabox-values">Metabox values</a> match values computed by the compiler.</p>
42064206
</li>
42074207
<li>
42084208
<p><a href="#blocks">Blocks</a> change the priority of expressions.</p>
@@ -4409,7 +4409,7 @@ <h4 id="type-annotations"><a class="anchor" href="#type-annotations"></a><a clas
44094409
<tr>
44104410
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>seconds as integer</code></p></td>
44114411
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>42</code></p></td>
4412-
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>X</code> (unless bound to constant <code>integer</code>)</p></td>
4412+
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>X</code> (unless bound to mutable <code>integer</code>)</p></td>
44134413
</tr>
44144414
</tbody>
44154415
</table>
@@ -13375,7 +13375,7 @@ <h3 id="future-work"><a class="anchor" href="#future-work"></a><a class="link" h
1337513375
</div>
1337613376
<div id="footer">
1337713377
<div id="footer-text">
13378-
Last updated 2020-05-22 14:23:03 +0200
13378+
Last updated 2020-09-11 06:48:57 +0200
1337913379
</div>
1338013380
</div>
1338113381
<link rel="stylesheet" href="highlight/styles/github.min.css">

docs/HANDBOOK.pdf

-12.2 KB
Binary file not shown.

0 commit comments

Comments
 (0)