diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-03-15 20:48:05 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-03-15 20:48:05 -0700 |
commit | 97da726898841d20cac0755bca8ef82db2cfc7fe (patch) | |
tree | b9d557cbd90aabdbd91db7d6de3367029c58a797 | |
parent | 26a9b440377b7b1b381fc0c74428cc9386fc25c8 (diff) | |
download | txr-97da726898841d20cac0755bca8ef82db2cfc7fe.tar.gz txr-97da726898841d20cac0755bca8ef82db2cfc7fe.tar.bz2 txr-97da726898841d20cac0755bca8ef82db2cfc7fe.zip |
doc: improve predicate pattern description.
* txr.1: Fix wrong word; clarify what is first form and second
form.
-rw-r--r-- | txr.1 | 15 |
1 files changed, 10 insertions, 5 deletions
@@ -40964,11 +40964,16 @@ operator. .syne .desc Whenever the operator position of a pattern consists of a symbol which is not -the name of a predicate operator, the expression denotes a predicate pattern, -expected to conform to one of the first three syntax descriptions above. Whenever -the operator position of a pattern consists of a meta-symbol, it is also a -predicate pattern, expected to conform to one of the second three syntax -descriptions. +the name of a pattern operator, the expression denotes a predicate pattern, +expected to conform to one of the first three syntax variations above. +Together, these three variations constitute the +.I "first form" +of the pattern predicate operator. +Whenever the operator position of a pattern consists of a meta-symbol, it is +also a predicate pattern, expected to conform to one of the second three syntax +variations above. These three variations constitute the +.I "second form" +of the operator. The first form of the predicate pattern consists of a compound form consisting of an operator and arguments. Exactly one of the arguments may be a pattern |