Theoretical Pearl: Church numerals‚ twice!
This pearl explains Church numerals, twice. The first explanation links Church numerals to Peano numerals via the well-known encoding of data types in the polymorphic λ-calculus. This view suggests that Church numerals are folds in disguise. The second explanation, which is more elaborate, but also...
Hlavní autor: | |
---|---|
Médium: | Journal article |
Vydáno: |
2005
|