Uh... never mind. I should have looked for the obvious > (define (f x) (+ x 1)) > (define (g x) (* x x)) > ((compose f g) 1) 2 > ((compose f g) 2) 5 >
On Oct 14, 2012, at 4:00 PM, Gregory Woodhouse <gregwoodho...@me.com> wrote: > Now, my question is: is there a notation in Racket for representing > composition that I should use, or am I better off writing a function that > maps an operator > A to p(A) where p is a polynomial?
____________________ Racket Users list: http://lists.racket-lang.org/users