Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
hendzen
on Dec 12, 2011
|
parent
|
context
|
favorite
| on:
Programming With Nothing: FizzBuzz in the lambda c...
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
rmcclellan
on Dec 12, 2011
[–]
Indeed. This encoding is due to church (
http://en.wikipedia.org/wiki/Church_encoding
).
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Here's a simple recursively defined number system in scheme: https://gist.github.com/1466985