<!-- 
RSS generated by JIRA (4.4#649-r158309) at Wed Jun 19 10:18:51 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-38/LOGIC-38.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-38] Logic Threading Macro</title>
                <link>http://dev.clojure.org/jira/browse/LOGIC-38</link>
                <project id="10020" key="LOGIC">core.logic</project>
                        <description>&lt;p&gt;This macro was somewhat useful when I was implementing static analysis for a compiler with core.logic.&lt;/p&gt;

&lt;p&gt;(defmacro ==&amp;gt;&amp;gt; &lt;span class=&quot;error&quot;&gt;&amp;#91;expr-in &amp;amp; rel-forms&amp;#93;&lt;/span&gt;&lt;br/&gt;
  &quot;Thread the expr-in through rel-forms then unify with last rel-forms&lt;br/&gt;
   (the &apos;out expression&apos;).&lt;/p&gt;

&lt;p&gt;   Example:&lt;br/&gt;
     (==&amp;gt;&amp;gt; [&lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt;] (firsto) (firsto) x))&lt;br/&gt;
     ;; &apos;x&apos; will become bound to value 1&lt;/p&gt;

&lt;p&gt;   This macro expands to:&lt;br/&gt;
   (fresh &lt;span class=&quot;error&quot;&gt;&amp;#91;_A _B&amp;#93;&lt;/span&gt;&lt;br/&gt;
     (firsto [&lt;span class=&quot;error&quot;&gt;&amp;#91;1&amp;#93;&lt;/span&gt;]  _A)&lt;br/&gt;
     (firsto _A     _B)&lt;br/&gt;
     (==     _B     q))&lt;/p&gt;

&lt;p&gt;   If you imagine that the &apos;return value&apos; of firsto is its last parameter,&lt;br/&gt;
   then it works just like clojure.core/-&amp;gt; as return value of each form is&lt;br/&gt;
   first argument of the following form.&quot;&lt;/p&gt;</description>
                <environment></environment>
            <key id="15441">LOGIC-38</key>
            <summary>Logic Threading Macro</summary>
                <type id="4" iconUrl="http://dev.clojure.org/jira/images/icons/improvement.gif">Enhancement</type>
                                <priority id="3" iconUrl="http://dev.clojure.org/jira/images/icons/priority_major.gif">Major</priority>
                    <status id="1" iconUrl="http://dev.clojure.org/jira/images/icons/status_open.gif">Open</status>
                    <resolution id="-1">Unresolved</resolution>
                                <assignee username="dnolen">David Nolen</assignee>
                                <reporter username="jasonjckn">Jason Jackson</reporter>
                        <labels>
                    </labels>
                <created>Sun, 13 May 2012 11:07:24 -0500</created>
                <updated>Sun, 13 May 2012 11:19:08 -0500</updated>
                                                                            <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="28492" author="jasonjckn" created="Sun, 13 May 2012 11:08:53 -0500"  >&lt;p&gt;There might be a better name, not sure. &lt;/p&gt;</comment>
                    <comment id="28493" author="jasonjckn" created="Sun, 13 May 2012 11:18:09 -0500"  >&lt;p&gt;renamed ==&amp;gt;&amp;gt; to ==-&amp;gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                    <attachment id="11214" name="0001-added-logic-threading-macro.patch" size="3805" author="jasonjckn" created="Sun, 13 May 2012 11:18:09 -0500" />
                    <attachment id="11213" name="0001-added-logic-threading-macro.patch" size="3800" author="jasonjckn" created="Sun, 13 May 2012 11:07:24 -0500" />
                </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>