<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to tickets</title><link href="https://sourceforge.net/p/cjam/tickets/" rel="alternate"/><link href="https://sourceforge.net/p/cjam/tickets/feed.atom" rel="self"/><id>https://sourceforge.net/p/cjam/tickets/</id><updated>2018-02-26T15:53:57.321000Z</updated><subtitle>Recent changes to tickets</subtitle><entry><title>Make divide by zero evaluate to zero</title><link href="https://sourceforge.net/p/cjam/tickets/105/" rel="alternate"/><published>2018-02-26T15:53:57.321000Z</published><updated>2018-02-26T15:53:57.321000Z</updated><author><name>Chiel ten Brinke</name><uri>https://sourceforge.net/u/chiel92/</uri></author><id>https://sourceforge.net4e617e97acbc896274a1ea1aa64be90b31bab6f7</id><summary type="html">&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;</summary></entry><entry><title>#104 e! doesn't work on certain mixed-type arrays</title><link href="https://sourceforge.net/p/cjam/tickets/104/?limit=25#eeb1" rel="alternate"/><published>2016-07-02T12:05:18.131000Z</published><updated>2016-07-02T12:05:18.131000Z</updated><author><name>aditsu</name><uri>https://sourceforge.net/u/aditsu/</uri></author><id>https://sourceforge.netd60e752994c1034fb9c2376f52a793a584dff154</id><summary type="html">&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;</summary></entry><entry><title>#104 e! doesn't work on certain mixed-type arrays</title><link href="https://sourceforge.net/p/cjam/tickets/104/?limit=25#e7f9/ade5" rel="alternate"/><published>2016-07-02T11:57:44.690000Z</published><updated>2016-07-02T11:57:44.690000Z</updated><author><name>Martin Büttner</name><uri>https://sourceforge.net/u/mbue/</uri></author><id>https://sourceforge.net94c6b2db6efb48016043c7c96e95a07ced999b55</id><summary type="html">&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;</summary></entry><entry><title>#104 e! doesn't work on certain mixed-type arrays</title><link href="https://sourceforge.net/p/cjam/tickets/104/?limit=25#e7f9" rel="alternate"/><published>2016-07-02T11:50:15.750000Z</published><updated>2016-07-02T11:50:15.750000Z</updated><author><name>aditsu</name><uri>https://sourceforge.net/u/aditsu/</uri></author><id>https://sourceforge.netaa00218a2ea16add0548192294172558a73a3b19</id><summary type="html">&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;</summary></entry><entry><title>#104 e! doesn't work on certain mixed-type arrays</title><link href="https://sourceforge.net/p/cjam/tickets/104/?limit=25#c650/ec15" rel="alternate"/><published>2016-07-01T14:16:27.164000Z</published><updated>2016-07-01T14:16:27.164000Z</updated><author><name>Martin Büttner</name><uri>https://sourceforge.net/u/mbue/</uri></author><id>https://sourceforge.netaab2928a8915cd27c1aa9767bf14dbaabddd4b70</id><summary type="html">&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;</summary></entry><entry><title>#104 e! doesn't work on certain mixed-type arrays</title><link href="https://sourceforge.net/p/cjam/tickets/104/?limit=25#c650" rel="alternate"/><published>2016-07-01T13:53:52.953000Z</published><updated>2016-07-01T13:53:52.953000Z</updated><author><name>aditsu</name><uri>https://sourceforge.net/u/aditsu/</uri></author><id>https://sourceforge.net3b3888c4aa072a11b8d90feba49426e41ca26351</id><summary type="html">&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;</summary></entry><entry><title>#104 e! doesn't work on certain mixed-type arrays</title><link href="https://sourceforge.net/p/cjam/tickets/104/?limit=25#9ee7" rel="alternate"/><published>2016-07-01T13:22:53.893000Z</published><updated>2016-07-01T13:22:53.893000Z</updated><author><name>Martin Büttner</name><uri>https://sourceforge.net/u/mbue/</uri></author><id>https://sourceforge.net22059c9836d1b910d40ea531ec66020b5c12f19e</id><summary type="html">&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;</summary></entry><entry><title>e! doesn't work on certain mixed-type arrays</title><link href="https://sourceforge.net/p/cjam/tickets/104/" rel="alternate"/><published>2016-07-01T12:43:52.440000Z</published><updated>2016-07-01T12:43:52.440000Z</updated><author><name>Martin Büttner</name><uri>https://sourceforge.net/u/mbue/</uri></author><id>https://sourceforge.net4999ddb442afbefbd2aec2c542d1cd9d30d5f7fc</id><summary type="html">&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;</summary></entry><entry><title>#61 Add a println operator</title><link href="https://sourceforge.net/p/cjam/tickets/61/?limit=25#1082" rel="alternate"/><published>2016-05-18T15:40:20.886000Z</published><updated>2016-05-18T15:40:20.886000Z</updated><author><name>aditsu</name><uri>https://sourceforge.net/u/aditsu/</uri></author><id>https://sourceforge.net886a765ed9712342f539d99ecc6a03d4266692e4</id><summary type="html">&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;</summary></entry><entry><title>#103 Float parsing</title><link href="https://sourceforge.net/p/cjam/tickets/103/?limit=25#4d67" rel="alternate"/><published>2016-05-03T06:52:05.683000Z</published><updated>2016-05-03T06:52:05.683000Z</updated><author><name>Sp3000</name><uri>https://sourceforge.net/u/sp3000/</uri></author><id>https://sourceforge.net189cfa122195c7c6fea72fcf64c1a8d3a81c3ba8</id><summary type="html">&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;</summary></entry></feed>