# Copyright 2008 Kevin Reid, under the terms of the MIT X license # found at http://www.opensource.org/licenses/mit-license.html ................ pragma.syntax("0.9") def Schedule := def now implements DeepFrozen, Schedule { to whenResolved(ref, reactor) { # if (Ref.isEventual(ref)) -- should we fail here? return reactor(ref) } to loop(continueFn) { __loop(continueFn) } to result(g) { return g } }