From ba027a19ce561646cd1a176bcf9b552ea0e6c9a0 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Mon, 12 Jun 2023 23:29:20 -0700 Subject: New macro: match-cond. * stdlib/match.tl (match-cond): New macro. * autoload.c (match_set_entries): match-cond triggers autoload of match module. * tests/011/patmatch.tl: Tests. * txr.1: Documented. * stdlib/doc.tl: Updated. --- autoload.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'autoload.c') diff --git a/autoload.c b/autoload.c index f90366d1..d384879a 100644 --- a/autoload.c +++ b/autoload.c @@ -840,7 +840,7 @@ static val match_set_entries(val fun) nil }; val name[] = { - lit("when-match"), lit("match-case"), lit("if-match"), + lit("when-match"), lit("match-case"), lit("match-cond"), lit("if-match"), lit("match"), lit("match-ecase"), lit("while-match"), lit("while-match-case"), lit("while-true-match-case"), lit("lambda-match"), lit("defun-match"), lit("defmatch"), -- cgit v1.2.3