[racket] Function composition in Racket
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 <gregwoodhouse at 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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20121014/d7976f71/attachment.html>