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 | ecd41181760001b1f400aa74c2114425b398a56e (patch) | |
tree | 295193f529e2015b4ddd4bf6345726e9893eb3d9 | |
parent | 94fe6a439a8a315c0566d61236e26058554210a0 (diff) | |
download | txr-ecd41181760001b1f400aa74c2114425b398a56e.tar.gz txr-ecd41181760001b1f400aa74c2114425b398a56e.tar.bz2 txr-ecd41181760001b1f400aa74c2114425b398a56e.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.
-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 |