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...
Автор: | |
---|---|
Формат: | Journal article |
Опубліковано: |
2005
|