<!-- 
RSS generated by JIRA (4.4#649-r158309) at Wed May 22 00:01:53 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-49/LOGIC-49.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-49] minimal map type for unifying only part of a map</title>
                <link>http://dev.clojure.org/jira/browse/LOGIC-49</link>
                <project id="10020" key="LOGIC">core.logic</project>
                        <description>&lt;p&gt;currently it&apos;s a bit obnoxious that map unification must be over the entire map. It would be useful to have a new datatype - partial-map &lt;img class=&quot;emoticon&quot; src=&quot;http://dev.clojure.org/jira/images/icons/emoticons/help_16.gif&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt; this would allow us to only match part of a map instead of the whole thing. Is this unsound?&lt;/p&gt;</description>
                <environment></environment>
            <key id="15660">LOGIC-49</key>
            <summary>minimal map type for unifying only part of a map</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="dnolen">David Nolen</reporter>
                        <labels>
                    </labels>
                <created>Fri, 31 Aug 2012 12:09:24 -0500</created>
                <updated>Fri, 12 Oct 2012 13:52:05 -0500</updated>
                    <resolved>Fri, 12 Oct 2012 13:52:05 -0500</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="29641" author="lynaghk" created="Fri, 12 Oct 2012 12:44:10 -0500"  >&lt;p&gt;How do you feel about letting partial map have a value meaning &quot;don&apos;t unify with a map that has a key here&quot;. E.g.,&lt;/p&gt;

&lt;p&gt;{:a ?x :b ?y} == {:a 1 :b 2 :c 3} =&amp;gt; {:a 1 :b 2}&lt;/p&gt;

&lt;p&gt;but&lt;/p&gt;

&lt;p&gt;{:a ?x :b !_} == {:a 1 :b 2 :c 3} =&amp;gt; nil&lt;/p&gt;

&lt;p&gt;My use case is doing map matching + rewrites and in some cases I don&apos;t want a partial-map to match a map that already has some keys defined.&lt;/p&gt;</comment>
                    <comment id="29642" author="dnolen" created="Fri, 12 Oct 2012 13:10:13 -0500"  >&lt;p&gt;Sure, but this is a separate ticket. Also it should be expressible via a normal goal - not-has-keyo or some such. Once that&apos;s done we can think about sugar.&lt;/p&gt;</comment>
                    <comment id="29643" author="lynaghk" created="Fri, 12 Oct 2012 13:16:33 -0500"  >&lt;p&gt;Also on the Github: &lt;a href=&quot;https://github.com/lynaghk/core.logic/tree/partial-map&quot;&gt;https://github.com/lynaghk/core.logic/tree/partial-map&lt;/a&gt;&lt;/p&gt;</comment>
                    <comment id="29644" author="lynaghk" created="Fri, 12 Oct 2012 13:31:01 -0500"  >&lt;p&gt;Patch without !_ sugar.&lt;/p&gt;</comment>
                    <comment id="29645" author="lynaghk" created="Fri, 12 Oct 2012 13:47:22 -0500"  >&lt;p&gt;Add patch, not diff.&lt;/p&gt;</comment>
                    <comment id="29646" author="dnolen" created="Fri, 12 Oct 2012 13:52:05 -0500"  >&lt;p&gt;fixed, &lt;a href=&quot;http://github.com/clojure/core.logic/commit/9b340ea4fff2f4dad50b0f9631054e713b895fe8&quot;&gt;http://github.com/clojure/core.logic/commit/9b340ea4fff2f4dad50b0f9631054e713b895fe8&lt;/a&gt;&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                    <attachment id="11555" name="49-partial-map.diff" size="2728" author="lynaghk" created="Fri, 12 Oct 2012 13:31:01 -0500" />
                    <attachment id="11554" name="49-partial-map.diff" size="3460" author="lynaghk" created="Fri, 12 Oct 2012 13:16:33 -0500" />
                    <attachment id="11557" name="49-partial-map.patch" size="3325" author="lynaghk" created="Fri, 12 Oct 2012 13:47:22 -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>