If you've never been exposed to lambda calculus, then you're in for a real treat! There is no shortage of tutorials on this.

If Greek letters and symbol manipulations are not your thing, take a look at http://worrydream.com/AlligatorEggs/ which describes a game that teaches children about lambda calculus. It is fun to read even for experts.

I got the above link off the Wikipedia page
http://en.wikipedia.org/wiki/Lambda_abstraction which you can take a look at when you're done learning how alligators each other, lay eggs, and die, in color!

PR Stanley wrote:

> f x = x + x
> Is the "x" use to create a pattern in the definition and when f is
> called it's replaced by a value?

Those equation-like definitions are syntactic sugar for lambda
abstractions. f could as well be defined as f = \x -> x + x.

Please elaborate
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe




_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to