From 4ee3dfeeed77c83c0a5929efeffbe0c6cb29abf6 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Tue, 22 Aug 2023 21:10:47 -0700 Subject: deftag: return the keyword. * 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. --- README.md | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'README.md') 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 `` parameter. + ## Dependencies TL-WHO has no external dependencies other than TXR itself. -- cgit v1.2.3