gas-0.0.0.1: Limit how many steps a program may take.

Control.Applicative.Free.Gas

Description

Compute the number of steps the interpretation of a free applicative action would take. The number of steps is the cummulative result of the cost function given to requiredGas. The limit is called the gas, by typical car analogy.