<!-- 
RSS generated by JIRA (4.4#649-r158309) at Fri May 24 17:50:44 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-109/LOGIC-109.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-109] custom defc constraint does not run</title>
                <link>http://dev.clojure.org/jira/browse/LOGIC-109</link>
                <project id="10020" key="LOGIC">core.logic</project>
                        <description>&lt;p&gt;I have a custom constrain defined using defc, it looks like &lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;(defc string-containsc [x y]
  (and (string? x)
       (.contains x y)))
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;I have a little core.logic program&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;(defn t []
  (logic/run* [q]
    (c/string-containsc q &quot;foo&quot;)
    (logic/== q 1)))
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;the result of calling t is (1)&lt;/p&gt;

&lt;p&gt;if I change the order of the goals:&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;(defn t []
  (logic/run* [q]
    (logic/== q 1)
    (c/string-containsc q &quot;foo&quot;)))
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;the result of (t) is ()&lt;/p&gt;
</description>
                <environment></environment>
            <key id="15980">LOGIC-109</key>
            <summary>custom defc constraint does not run</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="hiredman">Kevin Downey</reporter>
                        <labels>
                    </labels>
                <created>Mon, 28 Jan 2013 20:09:54 -0600</created>
                <updated>Tue, 29 Jan 2013 11:26:59 -0600</updated>
                    <resolved>Tue, 29 Jan 2013 11:26:59 -0600</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="30504" author="dnolen" created="Mon, 28 Jan 2013 22:50:24 -0600"  >&lt;p&gt;Possible fix in master, &lt;a href=&quot;http://github.com/clojure/core.logic/commit/c0a5ea982624c9e9af869be0b653bf83f60de062&quot;&gt;http://github.com/clojure/core.logic/commit/c0a5ea982624c9e9af869be0b653bf83f60de062&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Does this work for you?&lt;/p&gt;</comment>
                    <comment id="30505" author="hiredman" created="Tue, 29 Jan 2013 11:07:32 -0600"  >&lt;p&gt;yep, thanks&lt;/p&gt;</comment>
                    <comment id="30506" author="dnolen" created="Tue, 29 Jan 2013 11:26:59 -0600"  >&lt;p&gt;fixed&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>