Expand description
Deferred, non-memoized computation with higher-kinded type support.
Builds computation chains without stack safety guarantees but supports borrowing and lifetime polymorphism. Each call to Thunk::evaluate re-executes the computation. For stack-safe alternatives, use Trampoline.
Structsยง
- Thunk
- A deferred computation that produces a value of type
A.