by maxbaroi · 13y ago · 0 comments
What if f is a function of n-arity
(define compose (f g) (lambda (x) (f . (g x))))
If g is n-arity
(define compose (f g) (lambda (x) (f (g . x))))
I gave them all the same name because naming things is hard.
No comments yet.