Programming lab: Natural Numbers Encoding

Submission deadline: Tuesday, November 29, 2016 at 23:59

Introduction

We can encoding different data types in the untyped λ-calculus (Booleans, order pairs, natural numbers, list among others). An encoding of the natural numbers is the Church encoding based on the Church numerals. The aim of this programming assignment is to know an alternative encoding for the natural numbers.

Assignment (80%)

Clean code (10%)

Before submitting your code, which includes your README, clean it up:

Submission (10%)

Submission is electronic. Send an email to asr(at)eafit(dot)edu(dot)co and attach a compressed file (.zip or .tar.gz) with your solution.

Your submission has to include the following:

Notes


Foundations of Functional Programming Languages Valid XHTML
        1.1