aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2023-08-22 21:10:47 -0700
committerKaz Kylheku <kaz@kylheku.com>2023-08-22 21:10:47 -0700
commit4ee3dfeeed77c83c0a5929efeffbe0c6cb29abf6 (patch)
treed236cfa44cb0a41f93988c0af5b4c25c7af360e3 /README.md
parent6cd86e8975528a9ca5cbf12285724b99b63db4c6 (diff)
downloadtl-who-master.tar.gz
tl-who-master.tar.bz2
tl-who-master.zip
deftag: return the keyword.HEADtl-who-master
* README.md: Document that deftag returns the keyword symbol that is being defined as the tag. * who.tl (deftag): Return the keyword parameter instead of the generated lambda.
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/README.md b/README.md
index 762c0e5..030096d 100644
--- a/README.md
+++ b/README.md
@@ -345,6 +345,10 @@ entire body. However, if a pattern is specified, the body material
is destructurd, which effectively allows `deftag` tags to
have parameters, as in the `:atag` example above.
+### Returns:
+
+The `deftag` macro returns the `<keyword>` parameter.
+
## Dependencies
TL-WHO has no external dependencies other than TXR itself.