From 116e3cab66eb8d9d09aca20310a01f544848b7fa Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Tue, 22 Nov 2022 18:36:58 +0100 Subject: add =>* --- tests/test.mew | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests') diff --git a/tests/test.mew b/tests/test.mew index 9220312..904059d 100644 --- a/tests/test.mew +++ b/tests/test.mew @@ -478,6 +478,11 @@ (test 43 (=> '(6 7) (op apply * _) inc)) (test 42 (=> 42))) +(test-group "=>*" + (test 42 (=>* (values 6 7) * dec inc)) + (test '(6 7) (receive (=>* (values 6 7)))) + (test '(7 6) (receive (=>* (values 6 7) (proj 1 0))))) + (test-group "set=>" (test 42 (seq (def x 40) -- cgit 1.4.1