News for hackers. Stuff that matters.
Re:Programming With Nothing: FizzBuzz in the lambda calculus... by hendzen on Monday December 12, 2011 @07:40AM (#3343357)
That was pretty cool. Interesting to note that the numbers he used are essentially an implementation of the Peano Axioms, where the successor function wraps the predecessor in a lambda. (http://en.wikipedia.org/wiki/Peano_Axioms)

Here's a simple recursively defined number system in scheme: https://gist.github.com/1466985

Re:Programming With Nothing: FizzBuzz in the lambda calculus... by rmcclellan on Monday December 12, 2011 @09:45AM (#3343643)
Indeed. This encoding is due to church (http://en.wikipedia.org/wiki/Church_encoding).