In Idris, `Lazy ty` marks a computation that produces a `ty` only when its result is needed. The type checker inserts `Delay` and `Force` applications implicitly, so `Lazy` can serve as an annotation for deferred evaluation. section 10.2.4 section 11.2.4
At runtime, `Lazy` and `Inf` behave the same way, but the totality checker treats them differently. `Lazy` lets a recursive value be generated on demand without making a function that consumes it non-total. section 11.2.4
Generating fuel on demand
Define `Fuel` with `More (Lazy Fuel)`, then define `forever = More forever`. A total `run` can consume available fuel; `forever` itself is deliberately non-total because it never terminates. section 11.2.3 section 11.2.4
data Fuel = Dry | More (Lazy Fuel) #1 forever : Fuel forever = More forever #2
Shows the recursive Fuel definition and how `forever` supplies fuel indefinitely. section 11.2.4
