Skip to content

Latest commit

 

History

History
8 lines (6 loc) · 197 Bytes

19-tower-prim.md

File metadata and controls

8 lines (6 loc) · 197 Bytes

Exercise 19

Implement tower from Exercise 17 non-recursively using a scheme for primitive recursion:

prim c f 0 = c
prim c f n = f n (prim c f (n - 1))