>>20
Is there any reason for multi to be a macro? Currently it is the same as
(define (multi f . args)
(for-each f args))
If you wrapped it in extra parentheses, it would be just for-each
. For example:
(for-each
(lambda (a b) (display (+ a b)) (newline))
'(1 2 3) '(4 5 6))
Unless I am missing something.
>>22
christ, no you're not missing anything, I knew it didn't need to be a macro, and it seemed a little fishy, but for some reason I completely missed that it was just ‘for-each’, fail.