Sorry - gmail spasm....

What I was trying to say is that what I think your code is doing is running
a Clojure expression once and unifying with 0.  It's equivalent to
precomputing that outside of the run*:

(let [result (count (run* [arg] (goal arg))]
  (run* [q]
     ;; whatever-else-you-were doing
     (== 0 result)))

Now, of course that expression could use some projected value or be
embedded in a goal that gets tested multiple times, but chances are that
the naive uses of that are probably not doing what you really want to do.

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to