diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2022-01-17 07:02:58 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2022-01-17 07:02:58 -0800 |
commit | 979a9e38899271c647de29c506b04e753380cb2e (patch) | |
tree | 4926f3408ebe3054c925f1ab954151de0cdf3b08 /stdlib | |
parent | 4c3316acecc462283c0c853369af93776c478d44 (diff) | |
download | txr-979a9e38899271c647de29c506b04e753380cb2e.tar.gz txr-979a9e38899271c647de29c506b04e753380cb2e.tar.bz2 txr-979a9e38899271c647de29c506b04e753380cb2e.zip |
New function: match-fboundp.
User vapnik spaknik was asking in the mailing list whether
there is an existence test for TXR pattern functions. Now
there is.
* eval.c (eval_init): Register match-fboundp intrinsic.
* match.c (match_fbound): New function.
* match.h (match_fbound): Declared.
* tests/011/txr-case.txr: New test cases.
* txr.1: Documented.
* stdlib/doc-syms.tl: Updated.
Diffstat (limited to 'stdlib')
-rw-r--r-- | stdlib/doc-syms.tl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/stdlib/doc-syms.tl b/stdlib/doc-syms.tl index 1148e256..19804e8d 100644 --- a/stdlib/doc-syms.tl +++ b/stdlib/doc-syms.tl @@ -1241,6 +1241,7 @@ ("match" "N-01BE5C4A") ("match-case" "N-0282196B") ("match-ecase" "N-0282196B") + ("match-fboundp" "N-02AF4E8B") ("match-fun" "N-033F766A") ("match-regex" "N-02E3A26F") ("match-regex-right" "N-019430C5") |