<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mojopuzzler.org/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Even</id>
	<title>Even - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://mojopuzzler.org/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Even"/>
	<link rel="alternate" type="text/html" href="https://mojopuzzler.org/mediawiki/index.php?title=Even&amp;action=history"/>
	<updated>2026-05-18T08:49:17Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.40.1</generator>
	<entry>
		<id>https://mojopuzzler.org/mediawiki/index.php?title=Even&amp;diff=2265&amp;oldid=prev</id>
		<title>Gneale: Created page with &quot;===== Return to: Chialisp ===== ===== Return to: Additional Functions =====   (mod (num)      (defun remainder (x y)       (r (divmod x y)))       (defun even (num)         (if (= (remainder num 2) 0)         (q . even)         (x)))  (even num)       )  ==Example Usage==  brun '(a (q 2 4 (c 2 (c 5 ()))) (c (q (a (i (= (a 6 (c 2 (c 5 (q 2)))) ()) (q 1 . &quot;even&quot;) (q 8)) 1) 6 (divmod 5 11)) 1))' '(10)'  &quot;even&quot;   brun '(a (q 2 4 (c 2 (c 5 ()))) (c (q (a (i (...&quot;</title>
		<link rel="alternate" type="text/html" href="https://mojopuzzler.org/mediawiki/index.php?title=Even&amp;diff=2265&amp;oldid=prev"/>
		<updated>2023-11-17T15:55:08Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;===== Return to: &lt;a href=&quot;/mediawiki/index.php/Chialisp&quot; title=&quot;Chialisp&quot;&gt;Chialisp&lt;/a&gt; ===== ===== Return to: &lt;a href=&quot;/mediawiki/index.php/Additional_Functions&quot; title=&quot;Additional Functions&quot;&gt;Additional Functions&lt;/a&gt; =====   (mod (num)      (defun remainder (x y)       (r (divmod x y)))       (defun even (num)         (if (= (remainder num 2) 0)         (q . even)         (x)))  (even num)       )  ==Example Usage==  brun &amp;#039;(a (q 2 4 (c 2 (c 5 ()))) (c (q (a (i (= (a 6 (c 2 (c 5 (q 2)))) ()) (q 1 . &amp;quot;even&amp;quot;) (q 8)) 1) 6 (divmod 5 11)) 1))&amp;#039; &amp;#039;(10)&amp;#039;  &amp;quot;even&amp;quot;   brun &amp;#039;(a (q 2 4 (c 2 (c 5 ()))) (c (q (a (i (...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;===== Return to: [[Chialisp|Chialisp]] =====&lt;br /&gt;
===== Return to: [[Additional Functions]] =====&lt;br /&gt;
&lt;br /&gt;
 (mod (num)&lt;br /&gt;
     (defun remainder (x y)&lt;br /&gt;
      (r (divmod x y)))&lt;br /&gt;
      (defun even (num)&lt;br /&gt;
        (if (= (remainder num 2) 0)&lt;br /&gt;
        (q . even)&lt;br /&gt;
        (x)))&lt;br /&gt;
 (even num)&lt;br /&gt;
      )&lt;br /&gt;
&lt;br /&gt;
==Example Usage==&lt;br /&gt;
 brun '(a (q 2 4 (c 2 (c 5 ()))) (c (q (a (i (= (a 6 (c 2 (c 5 (q 2)))) ()) (q 1 . &amp;quot;even&amp;quot;) (q 8)) 1) 6 (divmod 5 11)) 1))' '(10)'&lt;br /&gt;
&lt;br /&gt;
&amp;quot;even&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 brun '(a (q 2 4 (c 2 (c 5 ()))) (c (q (a (i (= (a 6 (c 2 (c 5 (q 2)))) ()) (q 1 . &amp;quot;even&amp;quot;) (q 8)) 1) 6 (divmod 5 11)) 1))' '(11)'&lt;br /&gt;
&lt;br /&gt;
FAIL: clvm raise ()&lt;/div&gt;</summary>
		<author><name>Gneale</name></author>
	</entry>
</feed>