Add useful "map combinations" macro. See counter example
This commit is contained in:
12
utest.scm
12
utest.scm
@@ -967,6 +967,18 @@
|
||||
((_ () body ...)
|
||||
(utest/tb (#f) body ...))))
|
||||
|
||||
;;;
|
||||
;;; Map combinations macro
|
||||
;;;
|
||||
(define-syntax utest/map-comb
|
||||
(syntax-rules ()
|
||||
((_ (args ...) (body ...) lists ...)
|
||||
(apply
|
||||
map
|
||||
(lambda (args ...) (body ...))
|
||||
(transpose
|
||||
(combinations lists ...))))))
|
||||
|
||||
;;;
|
||||
;;; Delete working folders
|
||||
;;;
|
||||
|
||||
Reference in New Issue
Block a user