<!-- 
RSS generated by JIRA (4.4#649-r158309) at Wed Jun 19 04:19:22 CDT 2013

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary add field=key&field=summary to the URL of your request.
For example:
http://dev.clojure.org/jira/si/jira.issueviews:issue-xml/LOGIC-85/LOGIC-85.xml?field=key&field=summary
-->
<rss version="0.92" >
<channel>
    <title>Clojure JIRA</title>
    <link>http://dev.clojure.org/jira</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>4.4</version>
        <build-number>649</build-number>
        <build-date>25-07-2011</build-date>
    </build-info>

<item>
            <title>[LOGIC-85] another issue with predc constraint is not enforced when it could be</title>
                <link>http://dev.clojure.org/jira/browse/LOGIC-85</link>
                <project id="10020" key="LOGIC">core.logic</project>
                        <description>&lt;p&gt;This returns (&lt;span class=&quot;error&quot;&gt;&amp;#91;1 1&amp;#93;&lt;/span&gt;) instead of ().&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;(run* [q]
  (fresh [x y]
    (predc y even? `even?)
    (predc x odd? `odd)
    (== x y)
    (== x 1)
    (== q [x y]))))&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
            <key id="15922">LOGIC-85</key>
            <summary>another issue with predc constraint is not enforced when it could be</summary>
                <type id="1" iconUrl="http://dev.clojure.org/jira/images/icons/bug.gif">Defect</type>
                                <priority id="3" iconUrl="http://dev.clojure.org/jira/images/icons/priority_major.gif">Major</priority>
                    <status id="5" iconUrl="http://dev.clojure.org/jira/images/icons/status_resolved.gif">Resolved</status>
                    <resolution id="1">Completed</resolution>
                                <assignee username="dnolen">David Nolen</assignee>
                                <reporter username="namin">Nada Amin</reporter>
                        <labels>
                    </labels>
                <created>Mon, 24 Dec 2012 12:25:33 -0600</created>
                <updated>Mon, 24 Dec 2012 18:14:21 -0600</updated>
                    <resolved>Mon, 24 Dec 2012 18:14:21 -0600</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="30316" author="dnolen" created="Mon, 24 Dec 2012 13:31:23 -0600"  >&lt;p&gt;This is actually related to the deeper problem also demonstrated by &lt;a href=&quot;http://dev.clojure.org/jira/browse/LOGIC-77&quot; title=&quot;Finite-domain vars inside a vector crash when constrained.&quot;&gt;&lt;del&gt;LOGIC-77&lt;/del&gt;&lt;/a&gt;. The problem is that cKanren checks constraints via &quot;update-prefix&quot; which calls &quot;update&quot; which calls &quot;run-constraints*&quot;. &quot;update&quot; is called on the Substitution &lt;b&gt;prior&lt;/b&gt; to unification. This creates all kinds of issues as it&apos;s during unification that we &quot;migrate&quot; constraints from one logic var to another.&lt;/p&gt;

&lt;p&gt;I&apos;m pondering eliminating &quot;update&quot; and moving &quot;run-constraints*&quot; lower into the system - perhaps at the level of &quot;ext-no-check&quot;. A related change would be putting SubstValue smarts into &quot;ext-no-check&quot;. For example a &quot;ext-no-check&quot; on a unbound constrained logic var would simply update its SubstValue. This is critical as SubstValue might contain constraint information that must be preserved.&lt;/p&gt;</comment>
                    <comment id="30317" author="dnolen" created="Mon, 24 Dec 2012 18:14:21 -0600"  >&lt;p&gt;fixed, &lt;a href=&quot;http://github.com/clojure/core.logic/commit/d4d4cd53edfd76c2f416bd699f4b4d914f880985&quot;&gt;http://github.com/clojure/core.logic/commit/d4d4cd53edfd76c2f416bd699f4b4d914f880985&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                            <customfield id="customfield_10010" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Global Rank</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>
</channel>
</rss>