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:
parent
910dce70d6
commit
c593c47696
2 changed files with 5 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue