From 758598dd3e0cac7a4a4cf48e9ff82f7f01d775cb Mon Sep 17 00:00:00 2001 From: Judd Date: Fri, 16 Sep 2022 04:38:06 +0800 Subject: [PATCH] more minor updates to manual.md (#20360) * fix typos in manual.md 1. remove redundant `(` 1. 'System module' -> 'system module'. * Update manual.md "However" is not easy to understand. Suggest changing to the word into "In this version" to make the comparison explicite. --- doc/manual.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/manual.md b/doc/manual.md index 6d92a6dca..bd17f7b23 100644 --- a/doc/manual.md +++ b/doc/manual.md @@ -5517,7 +5517,7 @@ generic. `typedesc` has its own set of rules: A parameter of type `typedesc` is itself usable as a type. If it is used -as a type, it's the underlying type. (In other words, one level +as a type, it's the underlying type. In other words, one level of "typedesc"-ness is stripped off: ```nim @@ -5696,7 +5696,7 @@ Example: ```nim template `!=` (a, b: untyped): untyped = - # this definition exists in the System module + # this definition exists in the system module not (a == b) assert(5 != 6) # the compiler rewrites that to: assert(not (5 == 6)) @@ -6168,9 +6168,9 @@ The macro call expands to: writeLine(stdout, x) ``` -However, the symbols `write`, `writeLine` and `stdout` are already bound -and are not looked up again. As the example shows, `bindSym` does work with -overloaded symbols implicitly. +In this version of `debug`, the symbols `write`, `writeLine` and `stdout` +are already bound and are not looked up again. As the example shows, `bindSym` +does work with overloaded symbols implicitly. Note that the symbol names passed to `bindSym` have to be constant. The experimental feature `dynamicBindSym` ([experimental manual](