diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-10-28 06:54:05 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-10-28 06:54:05 -0700 |
commit | 67af4be97a2ea8700a841feb893a1f1747987843 (patch) | |
tree | 3d336af9e83d73c03064369e76351dbd63d28fbe /txr.1 | |
parent | 7e0550b7eb4f9a31954b4e47e6f8097c99022cd7 (diff) | |
download | txr-67af4be97a2ea8700a841feb893a1f1747987843.tar.gz txr-67af4be97a2ea8700a841feb893a1f1747987843.tar.bz2 txr-67af4be97a2ea8700a841feb893a1f1747987843.zip |
Doc maintenance under flet and labels.
* txr.1: Some wording changes and dialect note that
flet and labels do not genearate implict named
blocks in the function bodies.
Diffstat (limited to 'txr.1')
-rw-r--r-- | txr.1 | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -11003,7 +11003,8 @@ and is that a function defined by .code labels can see itself, and therefore recurse directly by name. Moreover, if multiple -functions are defined by the same labels construct, they all see each other. +functions are defined by the same labels construct, they all have each other's +names in scope of their bodies. By contrast, a .codn flet -defined function does not have itself in scope and cannot recurse. @@ -11055,6 +11056,19 @@ See also: the .code macrolet operator. +.TP* "Dialect Note:" + +The +.code flet +and +.code labels +macros do not establish named blocks around the body forms +of the local functions which they bind. This differs from +ANSI Common Lisp, whose local function have implicit named blocks, +allowing for +.code return-from +to be used. + .TP* Examples: .cblk ;; Wastefully slow algorithm for determining evenness. |