<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to tickets</title><link>https://sourceforge.net/p/cjam/tickets/</link><description>Recent changes to tickets</description><atom:link href="https://sourceforge.net/p/cjam/tickets/feed.rss" rel="self"/><language>en</language><lastBuildDate>Mon, 26 Feb 2018 15:53:57 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/cjam/tickets/feed.rss" rel="self" type="application/rss+xml"/><item><title>Make divide by zero evaluate to zero</title><link>https://sourceforge.net/p/cjam/tickets/105/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Feature request:&lt;/p&gt;
&lt;p&gt;Make divide by zero evaluate to zero. Currently it gives an exception, which is very sensible but not useful in a working program. This feature would remove the need for a zero check before a division.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Chiel ten Brinke</dc:creator><pubDate>Mon, 26 Feb 2018 15:53:57 -0000</pubDate><guid>https://sourceforge.net4e617e97acbc896274a1ea1aa64be90b31bab6f7</guid></item><item><title>#104 e! doesn't work on certain mixed-type arrays</title><link>https://sourceforge.net/p/cjam/tickets/104/?limit=25#eeb1</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Actually, the behaviour would be different from &lt;code&gt;m!&lt;/code&gt;. In your example, the first permutation with &lt;code&gt;e!&lt;/code&gt; would be &lt;code&gt;[1 2 2 "A" "A" 'C 'C [] []]&lt;/code&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">aditsu</dc:creator><pubDate>Sat, 02 Jul 2016 12:05:18 -0000</pubDate><guid>https://sourceforge.netd60e752994c1034fb9c2376f52a793a584dff154</guid></item><item><title>#104 e! doesn't work on certain mixed-type arrays</title><link>https://sourceforge.net/p/cjam/tickets/104/?limit=25#e7f9/ade5</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I don't think the order is arbitrary at all. This behaviour would be consistent with how &lt;code&gt;m!&lt;/code&gt; works for unsorted inputs. As for comparability, I'd just consider different types unequal, and then use the usual equality between elements of the same type (although it seems that &lt;code&gt;=&lt;/code&gt; on two blocks always yields &lt;code&gt;0&lt;/code&gt; - I'd consider blocks with equal string representation equal for this purpose, and &lt;code&gt;NaN&lt;/code&gt;s as well). With these semantics you'd get all distinguishable permutations without discarding any indistinguishable ones.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Martin Büttner</dc:creator><pubDate>Sat, 02 Jul 2016 11:57:44 -0000</pubDate><guid>https://sourceforge.net94c6b2db6efb48016043c7c96e95a07ced999b55</guid></item><item><title>#104 e! doesn't work on certain mixed-type arrays</title><link>https://sourceforge.net/p/cjam/tickets/104/?limit=25#e7f9</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Well, that would be possible, but it gets complicated. We'd need to get into the details of what it means to be comparable and which kinds of values are supposed to be equal, and then I'll need to do O(n^2) equality tests and define a semi-arbitrary order as you suggested. Anyway, I'll consider it.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">aditsu</dc:creator><pubDate>Sat, 02 Jul 2016 11:50:15 -0000</pubDate><guid>https://sourceforge.netaa00218a2ea16add0548192294172558a73a3b19</guid></item><item><title>#104 e! doesn't work on certain mixed-type arrays</title><link>https://sourceforge.net/p/cjam/tickets/104/?limit=25#c650/ec15</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Right, but couldn't you just give the elements comparable identities? E.g. if the input is &lt;code&gt;[1 2 "A" 2 'C "A" 'C [] []]&lt;/code&gt; then you'd turn that into &lt;code&gt;[[0 1] [1 2] [2 "A"] [1 2] [3 'C] [2 "A"] [3 'C] [4 []] [4 []]&lt;/code&gt;. Now the first elements are comparable and you can run your algorithm based on those, and at the end you extract the second value of each pair.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Martin Büttner</dc:creator><pubDate>Fri, 01 Jul 2016 14:16:27 -0000</pubDate><guid>https://sourceforge.netaab2928a8915cd27c1aa9767bf14dbaabddd4b70</guid></item><item><title>#104 e! doesn't work on certain mixed-type arrays</title><link>https://sourceforge.net/p/cjam/tickets/104/?limit=25#c650</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;e! uses a somewhat different algorithm. It generates the permutations in lexicographic order, and does not generate duplicates (to be removed at the end). It does need the elements to be comparable. An array of ten 0's and two 1's will have exactly 66 permutations rather than 479 million out of which 66 are distinct.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">aditsu</dc:creator><pubDate>Fri, 01 Jul 2016 13:53:52 -0000</pubDate><guid>https://sourceforge.net3b3888c4aa072a11b8d90feba49426e41ca26351</guid></item><item><title>#104 e! doesn't work on certain mixed-type arrays</title><link>https://sourceforge.net/p/cjam/tickets/104/?limit=25#9ee7</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Sp3000 pointed out that this is because &lt;code&gt;e!&lt;/code&gt; does an implicit sort. That seems like an even bigger issue actually, because it means I can't reliably pick out a specific permutation if I need to (and my input is unsorted). I always assumed &lt;code&gt;e!&lt;/code&gt; would be equivalent to (but possibly faster than) &lt;code&gt;m!_&amp;amp;&lt;/code&gt;.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Martin Büttner</dc:creator><pubDate>Fri, 01 Jul 2016 13:22:53 -0000</pubDate><guid>https://sourceforge.net22059c9836d1b910d40ea531ec66020b5c12f19e</guid></item><item><title>e! doesn't work on certain mixed-type arrays</title><link>https://sourceforge.net/p/cjam/tickets/104/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;code&gt;e!&lt;/code&gt; throws an error when you mix types that aren't comparable, like:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;[0 S]e!
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;I'm not entirely sure why that is, because &lt;code&gt;m!&lt;/code&gt; does work, and &lt;em&gt;equality&lt;/em&gt; can still be determined when using uncomparable types.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Martin Büttner</dc:creator><pubDate>Fri, 01 Jul 2016 12:43:52 -0000</pubDate><guid>https://sourceforge.net4999ddb442afbefbd2aec2c542d1cd9d30d5f7fc</guid></item><item><title>#61 Add a println operator</title><link>https://sourceforge.net/p/cjam/tickets/61/?limit=25#1082</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; fixed&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;assigned_to&lt;/strong&gt;: aditsu&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">aditsu</dc:creator><pubDate>Wed, 18 May 2016 15:40:20 -0000</pubDate><guid>https://sourceforge.net886a765ed9712342f539d99ecc6a03d4266692e4</guid></item><item><title>#103 Float parsing</title><link>https://sourceforge.net/p/cjam/tickets/103/?limit=25#4d67</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I was thinking more of the general case, e.g. &lt;code&gt;1.23.4&lt;/code&gt; for &lt;code&gt;[1.23 .4]&lt;/code&gt; (&lt;code&gt;[1.2 3.4]&lt;/code&gt; or &lt;code&gt;[1. 23.4]&lt;/code&gt; are also possible, but the choice is arbitrary). Having said that this is really minor and probably not very useful, but I just thought I'd make a ticket anyway.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sp3000</dc:creator><pubDate>Tue, 03 May 2016 06:52:05 -0000</pubDate><guid>https://sourceforge.net189cfa122195c7c6fea72fcf64c1a8d3a81c3ba8</guid></item></channel></rss>