module app.effect fn emit(out: cap) -> void effects [io.write] { io.stdout_write(out, b"module") or trap; }