kirancodes.me
To Proof Maintenance & Beyond!

916 papers · page 26 of 46

Church numerals, twice!

Ralf Hinze

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 …