[Haskell-cafe] Functions that return functions

michael rice nowgate at yahoo.com
Sun Apr 12 20:57:52 EDT 2009

No sweat. My comment was meant humorously. I just forgot the emoticon.

Any way you look at it, Haskell is very impressive, and I've just scratched the surface.


--- On Sun, 4/12/09, Jake McArthur <jake.mcarthur at gmail.com> wrote:

From: Jake McArthur <jake.mcarthur at gmail.com>
Subject: Re: [Haskell-cafe] Functions that return functions
To: "michael rice" <nowgate at yahoo.com>
Cc: haskell-cafe at haskell.org
Date: Sunday, April 12, 2009, 7:27 PM

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20090412/9edf40c4/attachment.htm

More information about the Haskell-Cafe mailing list