Bind typed source functions with exact effect contracts during deterministic specialization; retain nominal operation identity and ordinary AIR verification. Add spec/RFC/grammar, checked Quick Reference examples, source/AIR conformance, package/hosted CLI tests, scheduler/GC coverage and documentation budgets.
4 lines
130 B
C++
4 lines
130 B
C++
module app.algorithm
|
|
import app.policy;
|
|
fn apply<T, F: fn(T) -> T effects []>(value: T) -> T effects [] { return F(move value); }
|