2008-12-14

Re: Problem #2 Needs an Example.

Originally Posted By: mecpollett@gmail.com
Well, you could always rewrite your Scheme example in ML: fun compose(f, g) = fn x => g(f(x)); On Dec 14, 2008, at 2:29 PM, Bernard wrote: > > Here's an easier one to remember: > Scheme: (define compose (lambda (f g) (lambda (x) (g (f x))))) > > I don't have one for ML, though. > >
'''Originally Posted By: mecpollett@gmail.com''' Well, you could always rewrite your Scheme example in ML: fun compose(f, g) = fn x => g(f(x)); On Dec 14, 2008, at 2:29 PM, Bernard wrote: > > Here's an easier one to remember: > Scheme: (define compose (lambda (f g) (lambda (x) (g (f x))))) > > I don't have one for ML, though. > >
X