Saturday, June 21, 2008

A fresh start

Let's begin with a simple question: what type would you give to the following function?

(define (map-with-funcs . fs)
  (lambda as
    (map (lambda (f)
           (apply f as))
         fs)))

No comments: