diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2023-05-28 08:39:56 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2023-05-28 08:39:56 -0700 |
commit | 480f22e6979253a89f1739b96614105e8029ad15 (patch) | |
tree | 295193f529e2015b4ddd4bf6345726e9893eb3d9 /txr.1 | |
parent | 0d9055c632941d3db815474d65fcaa17d9ac4988 (diff) | |
download | txr-480f22e6979253a89f1739b96614105e8029ad15.tar.gz txr-480f22e6979253a89f1739b96614105e8029ad15.tar.bz2 txr-480f22e6979253a89f1739b96614105e8029ad15.zip |
doc: compiler-let syntax
* txr.1: the compiler-let operator has a stricter syntax
than shown in the synopsis; it only allows (var init-form)
pairs, not single variables.
Diffstat (limited to 'txr.1')
-rw-r--r-- | txr.1 | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -88283,7 +88283,7 @@ with unused variable checking enabled. .coNP Operator @ compiler-let .synb -.mets (compiler-let >> ({ sym | >> ( sym << init-form )}*) << body-form *) +.mets (compiler-let >> ({( sym << init-form )}*) << body-form *) .syne .desc The @@ -88291,6 +88291,14 @@ The operator strongly resembles .code let* but has different semantics, relevant to compilation. +It also has a stricter syntax in that variables may not +be symbols without a +.metn init-form : +only variable binding specifications of the form +.mono +.meti >> (sym << init-form ) +.onom +are allowed. Symbols bound using .code compiler-let |