News for hackers. Stuff that matters.
Re:Programming With Nothing: FizzBuzz in the lambda calculus... by i2 on Monday December 12, 2011 @08:31AM (#3343469)
The same can be done with Python lambdas:

  >>> ZERO = lambda f: lambda x: x
  >>> FIVE = lambda f: lambda x: f(f(f(f(f(x)))))
  >>> to_int = lambda f: f(lambda x: x+1)(0)
  ... etc.
Re:Programming With Nothing: FizzBuzz in the lambda calculus... by neilk on Monday December 12, 2011 @11:10AM (#3343909)
Mark-Jason Dominus did this for Perl, more than a decade ago.

http://perl.plover.com/lambda/ aka "How to write a 163 line program to compute 1+1"

Although I really like the OP's approach since he slowly morphs a program his readers can understand, rather than constructing a programming system from scratch.

Re:Programming With Nothing: FizzBuzz in the lambda calculus... by freyrs3 on Monday December 12, 2011 @09:09AM (#3343541)
Yeah you can do the full lambda calculus in Python:

https://raw.github.com/sdiehl/church-numbers/master/church.p...