[Haskell-cafe] Functions that return functions

Jake McArthur jake.mcarthur at gmail.com
Sun Apr 12 19:27:51 EDT 2009


michael rice wrote:
> You're getting ahead of me again.

I'm sorry. I didn't expect you to understand the whole thing. Rather, 
I'm just showing what is possible. Notice that there is no lambda 
abstraction in the function implementation. The entire thing is 
constructed with combinators, functions that take other functions as 
arguments. I was trying to emphasize that it is very Haskelly to accept 
and return functions as happily as normal values.

- Jake


More information about the Haskell-Cafe mailing list