Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 325 Bytes

README.md

File metadata and controls

13 lines (10 loc) · 325 Bytes

Bounce

Define a function with type:

bounce : int -> int -> int

The function takes as input an integer, and it outputs a function from integers to integers. The output function bounce n is periodic with period 2 n, and it has the behaviour described by the following graph (with n=3).

image