<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Clojure Q&amp;A - Recent questions tagged nil-punning</title>
<link>https://ask.clojure.org/index.php/tag/nil-punning</link>
<description></description>
<item>
<title>`(nthrest nil n)` returns `nil` instead of `()`</title>
<link>https://ask.clojure.org/index.php/12098/nthrest-nil-n-returns-nil-instead-of</link>
<description>&lt;p&gt;According to the documentation &lt;code&gt;nthrest&lt;/code&gt; should be equivalent to calling &lt;code&gt;rest&lt;/code&gt; repeatedly, but its behaviour differs when coll is &lt;code&gt;nil&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;I also noticed neither of the &lt;code&gt;nthrest&lt;/code&gt; and &lt;code&gt;nthnext&lt;/code&gt; functions are included in the test-nil-punning.&lt;/p&gt;
</description>
<category>Sequences</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/12098/nthrest-nil-n-returns-nil-instead-of</guid>
<pubDate>Tue, 02 Aug 2022 17:45:37 +0000</pubDate>
</item>
</channel>
</rss>