4 ms·
Clojure has a really nice `juxt` function for that, which I have an implementation of in my `.guile` file. (define (juxt . fns) (lambda args (map (
by pona-a 2y ago
Clojure has a really nice `juxt` function for that, which I have an implementation of in my `.guile` file.
(define (juxt . fns)
(lambda args
(map (lambda (fn) (apply fn args)) fns)))