Fix introduced erroneous use of "canonical" back to original wording. Fix faulty description of proc params behavior. Remove 'null' return type in example.

This commit is contained in:
Oscar Campbell 2015-05-26 16:28:44 +02:00
commit c593c47696
2 changed files with 5 additions and 4 deletions

View file

@ -54,7 +54,7 @@ blindly:
.. code-block:: nim
template mulIsCommutative{`*`(a, b)}(a, b: int): int = b*a
What optimizers really need to do is a *canonization*:
What optimizers really need to do is a *canonicalization*:
.. code-block:: nim
template canonMul{`*`(a, b)}(a: int{lit}, b: int): int = b*a