[LOGIC-155] Dynamic variables are not seen inside a logic query Created: 28/Jan/14 Updated: 06/Jul/14 Resolved: 06/Jul/14
|Reporter:||Reinout Stevens||Assignee:||David Nolen|
|Labels:||binding, bug, dynamic|
core.logic version 0.8.6
core.logic does not work correctly with dynamic variables, as illustrated by the following code:
(def ^:dynamic dvar 'original)
;;outputs (original), expected (changed)
To the best of my knowledge this used to work in older versions, although I do not know when the behaviour changed.
|Comment by David Nolen [ 28/Jan/14 10:56 AM ]|
This is because core.logic became lazy (been a year now? . There are now non lazy run variants or you can use doall yourself.