From: Christopher Allan Webber Date: Thu, 19 Nov 2015 18:17:38 +0000 (-0600) Subject: A note to self that we probably want to wrap procedures with an intent to run X-Git-Tag: v0.1.0~159 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;ds=sidebyside;h=ec22b5b3398c107215b6303ec63dbadb8f77ac76;hp=b5470d453b613ffd7f639b48af9febcf57a92a70;p=8sync.git A note to self that we probably want to wrap procedures with an intent to run --- diff --git a/loopy.scm b/loopy.scm index d878601..261e14d 100644 --- a/loopy.scm +++ b/loopy.scm @@ -283,6 +283,8 @@ based on the results" (enq! next-queue new-proc)))) ;; @@: We might support delay-wrapped procedures here (match proc-result + ;; TODO: replace procedure with something that indicates + ;; intent to run. Use a (run foo) procedure ((? procedure? new-proc) (enqueue new-proc)) (((? procedure? new-procs) ...)