[ prog / sol / mona ]

prog


Post macros.

22 2020-06-04 21:33 *

>>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.

40


VIP:

do not edit these