Details
-
Type:
Defect
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Completed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
Description
This means that we cannot really emulate modes with constraints. The problem is related to -inc.
An easy way to try it out is to have a dummy fresh goal in predc and see the failing tests.
@@ -2932,7 +2932,7 @@
(invoke [this a]
(let [x (walk a x)]
(when (p x)
- ((remcg this) a))))
+ (bind* a (fresh [y] (== x x)) (remcg this)))))
IConstraintOp
(rator [_] (if (seq? pform)
`(predc ~pform)
Activity
Nada Amin
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Description |
This means that we cannot really emulate modes with constraints. The problem is related to -inc.
An easy way to try it out is to have a dummy fresh goal in predc and see the failing tests. @@ -2932,7 +2932,7 @@ (invoke [this a] (let [x (walk a x)] (when (p x) - ((remcg this) a)))) + (bind* a (fresh [y] (== x x)) (remcg this))))) IConstraintOp (rator [_] (if (seq? pform) `(predc ~pform) |
This means that we cannot really emulate modes with constraints. The problem is related to -inc.
An easy way to try it out is to have a dummy fresh goal in predc and see the failing tests. {noformat} @@ -2932,7 +2932,7 @@ (invoke [this a] (let [x (walk a x)] (when (p x) - ((remcg this) a)))) + (bind* a (fresh [y] (== x x)) (remcg this))))) IConstraintOp (rator [_] (if (seq? pform) `(predc ~pform) {noformat} |
David Nolen
made changes -
| Resolution | Completed [ 1 ] | |
| Status | Open [ 1 ] | Resolved [ 5 ] |