handle
Interpret with auto-resume: the block's return value is the effect's response. For an effect that returns Unit, do the work; for one that returns a value, return it. The block may bind other programs, which run in place of the effect as in a program block, so a rule that translates its effect into I/O binds a performIO { }. The block is a one-shot coroutine: under a multi-shot handler such as collectAll, a block that binds the choice fails when resumed a second time, while one that returns without suspending is fine.
The response is not checked against the effect's declared type, except that a Program is rejected at once with an IllegalStateException naming the effect, since it almost always means a sub-program was returned without its .bind(). Applied lazily, when the program is run.