diff options
Diffstat (limited to 'tests/011/patmatch.tl')
-rw-r--r-- | tests/011/patmatch.tl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/011/patmatch.tl b/tests/011/patmatch.tl index 8a304a6d..9e566502 100644 --- a/tests/011/patmatch.tl +++ b/tests/011/patmatch.tl @@ -474,6 +474,7 @@ (mtest (when-match ^(,a ,b) '(1 2) (list a b)) (1 2) + (when-match ^(,(oddp @a) ,(evenp @b)) '(1 2) (list a b)) (1 2) (when-match ^#(,a ,b) #(1 2) (list a b)) (1 2) (when-match ^#S(,type year ,y) #S(time year 2021) (list (struct-type-name type) y)) (time 2021) |