From 77a47304368cd716c05507ce9cebbbab3a2b965a Mon Sep 17 00:00:00 2001 From: Rose Hogenson Date: Tue, 12 Jul 2022 21:44:41 -0700 Subject: Remove redundant parentheses in the match macro. I'm marginally reducing verbosity with this change, without sacrificing readability. --- csc/match-test.csc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'csc/match-test.csc') diff --git a/csc/match-test.csc b/csc/match-test.csc index c5314ce..d4da153 100644 --- a/csc/match-test.csc +++ b/csc/match-test.csc @@ -73,8 +73,8 @@ 3 (match 'b ((! 'a) 1) - ((! 'b) (when #f) 2) - ((! 'b) (when #t) 3) + ((! 'b) when #f 2) + ((! 'b) when #t 3) (_ 4)))) @@ -82,8 +82,8 @@ (assert-equal 2 (match 10 - (n (when (= 1 n)) 1) - (n (when (= 10 n)) 2) + (n when (= 1 n) 1) + (n when (= 10 n) 2) (_ 3)))) -- cgit v1.3.1