This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-08-03
Channels
- # admin-announcements (6)
- # announcements (1)
- # beginners (17)
- # boot (69)
- # bristol-clojurians (1)
- # cider (7)
- # cljs-dev (115)
- # clojure (76)
- # clojure-russia (12)
- # clojure-sg (2)
- # clojurescript (152)
- # core-async (2)
- # core-logic (7)
- # cursive (18)
- # datascript (4)
- # datomic (2)
- # hoplon (12)
- # ldnclj (26)
- # off-topic (1)
- # re-frame (48)
- # reagent (6)
nafc
delays evaluation somehow until the args to the goal became ground. Is there some generic support for this delaying? I looked at the implementation but, well, didn't really get a clue. Maybe cgoal
is the essence of it.
But in my actual use-case, I don't have a constraint but a relation (foo a b c)
which requires that at least a
and b
, or c
are ground. It would be nice if I could delay that until that is the case.
@tsdh: I think it’s in the IConstraintStep
reification:
IRunnable
(-runnable? [_]
(every? #(ground-term? % s) args))))