<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Clojure Q&amp;A - Recent questions and answers in Docs</title>
<link>https://ask.clojure.org/index.php/qa/clojure/docs</link>
<description></description>
<item>
<title>Answered: It's difficult to figure out options I can pass to slurp function.</title>
<link>https://ask.clojure.org/index.php/14975/its-difficult-to-figure-out-options-can-pass-slurp-function?show=14976#a14976</link>
<description>&lt;p&gt;This is fair. I created &lt;a rel=&quot;nofollow&quot; href=&quot;https://clojure.atlassian.net/browse/CLJ-2944&quot;&gt;https://clojure.atlassian.net/browse/CLJ-2944&lt;/a&gt; to track this.&lt;/p&gt;
</description>
<category>Docs</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/14975/its-difficult-to-figure-out-options-can-pass-slurp-function?show=14976#a14976</guid>
<pubDate>Fri, 27 Feb 2026 15:11:56 +0000</pubDate>
</item>
<item>
<title>Answered: Reader docs say foo.bar is a qualified symbol but qualified-symbol? is false</title>
<link>https://ask.clojure.org/index.php/14882/reader-docs-say-foo-qualified-symbol-qualified-symbol-false?show=14883#a14883</link>
<description>&lt;p&gt;&quot;Qualified&quot; means more than one thing depending on context. Java classes are &quot;qualified&quot; by their package name. symbols are &quot;qualified&quot; by their namespace. class names are syntactically represented by a symbol which has overlapping senses - the class package is a dotted prefix that lives in the &quot;name&quot; part of the  symbol. &lt;/p&gt;
&lt;p&gt;&lt;code&gt;qualified-symbol?&lt;/code&gt; is specifically referring to namespace qualification.&lt;/p&gt;
&lt;p&gt;My guess is that Rich would say that the original sentence is correct and written as intended.&lt;/p&gt;
</description>
<category>Docs</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/14882/reader-docs-say-foo-qualified-symbol-qualified-symbol-false?show=14883#a14883</guid>
<pubDate>Mon, 12 Jan 2026 22:08:25 +0000</pubDate>
</item>
<item>
<title>Answered: Typo in clojure.zipper/zipper docstring</title>
<link>https://ask.clojure.org/index.php/14733/typo-in-clojure-zipper-zipper-docstring?show=14778#a14778</link>
<description>&lt;p&gt;Good catch! Logged as &lt;a rel=&quot;nofollow&quot; href=&quot;https://clojure.atlassian.net/browse/CLJ-2929&quot;&gt;https://clojure.atlassian.net/browse/CLJ-2929&lt;/a&gt;&lt;/p&gt;
</description>
<category>Docs</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/14733/typo-in-clojure-zipper-zipper-docstring?show=14778#a14778</guid>
<pubDate>Tue, 25 Nov 2025 20:32:58 +0000</pubDate>
</item>
<item>
<title>Answered: Docstring clojure.edn/read-string is misleading</title>
<link>https://ask.clojure.org/index.php/14762/docstring-clojure-edn-read-string-is-misleading?show=14774#a14774</link>
<description>&lt;p&gt;Logged as &lt;a rel=&quot;nofollow&quot; href=&quot;https://clojure.atlassian.net/browse/CLJ-2927&quot;&gt;https://clojure.atlassian.net/browse/CLJ-2927&lt;/a&gt;&lt;/p&gt;
</description>
<category>Docs</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/14762/docstring-clojure-edn-read-string-is-misleading?show=14774#a14774</guid>
<pubDate>Tue, 25 Nov 2025 20:14:35 +0000</pubDate>
</item>
<item>
<title>Answered: The docstring on empty? should perhaps not recommend using seq instead anymore</title>
<link>https://ask.clojure.org/index.php/14724/docstring-empty-should-perhaps-recommend-instead-anymore?show=14725#a14725</link>
<description>&lt;p&gt;The docstring says &quot;To check the emptiness &lt;strong&gt;of a seq&lt;/strong&gt;...&quot; which is still the preferred idiom.&lt;/p&gt;
</description>
<category>Docs</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/14724/docstring-empty-should-perhaps-recommend-instead-anymore?show=14725#a14725</guid>
<pubDate>Fri, 17 Oct 2025 14:13:15 +0000</pubDate>
</item>
<item>
<title>Answered: &quot;:added&quot; metadata missing from some new public functions in namespace clojure.java.process</title>
<link>https://ask.clojure.org/index.php/14504/metadata-missing-public-functions-namespace-clojure-process?show=14505#a14505</link>
<description>&lt;p&gt;Thx, logged as &lt;a rel=&quot;nofollow&quot; href=&quot;https://clojure.atlassian.net/browse/CLJ-2906&quot;&gt;https://clojure.atlassian.net/browse/CLJ-2906&lt;/a&gt;, just an oversight, they are all public API.&lt;/p&gt;
</description>
<category>Docs</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/14504/metadata-missing-public-functions-namespace-clojure-process?show=14505#a14505</guid>
<pubDate>Fri, 11 Apr 2025 17:58:36 +0000</pubDate>
</item>
<item>
<title>Answered: Can we add metaphors/analogies for functional closures in Clojure to the docs please?</title>
<link>https://ask.clojure.org/index.php/14472/metaphors-analogies-functional-closures-clojure-docs-please?show=14477#a14477</link>
<description>&lt;p&gt;Whist metaohor and analogy can be useful additions, they are subjective and not always understood. Personally I found it hard to relate to a garage containing cars with 5 people already in the car (how are more people going to get into the car, maybe it should be a bus)&lt;/p&gt;
&lt;p&gt;Writing a more detailed article around the example above would allow more people (especially those new to Clojure) to give feedback, providing a much broader view.&lt;/p&gt;
</description>
<category>Docs</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/14472/metaphors-analogies-functional-closures-clojure-docs-please?show=14477#a14477</guid>
<pubDate>Fri, 21 Mar 2025 08:41:42 +0000</pubDate>
</item>
<item>
<title>Answered: Docstring typos in clojure.core/bytes, chars, shorts</title>
<link>https://ask.clojure.org/index.php/14447/docstring-typos-in-clojure-core-bytes-chars-shorts?show=14449#a14449</link>
<description>&lt;p&gt;Good catch! Logged as &lt;a rel=&quot;nofollow&quot; href=&quot;https://clojure.atlassian.net/browse/CLJ-2901&quot;&gt;https://clojure.atlassian.net/browse/CLJ-2901&lt;/a&gt;&lt;/p&gt;
</description>
<category>Docs</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/14447/docstring-typos-in-clojure-core-bytes-chars-shorts?show=14449#a14449</guid>
<pubDate>Thu, 06 Mar 2025 16:05:51 +0000</pubDate>
</item>
<item>
<title>Answered: Found some typos in clojure.core, how to contribute a patch?</title>
<link>https://ask.clojure.org/index.php/14150/found-some-typos-in-clojure-core-how-to-contribute-a-patch?show=14151#a14151</link>
<description>&lt;p&gt;&quot;iff&quot; is not a misspelling, it's a common shorthand for &quot;if and only if&quot;.&lt;/p&gt;
&lt;p&gt;As for submitting patches - apart from signing the agreement, you also need to file a contributor support request, as per this page: &lt;a rel=&quot;nofollow&quot; href=&quot;https://clojure.org/dev/dev#_becoming_a_contributor&quot;&gt;https://clojure.org/dev/dev#_becoming_a_contributor&lt;/a&gt;&lt;/p&gt;
</description>
<category>Docs</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/14150/found-some-typos-in-clojure-core-how-to-contribute-a-patch?show=14151#a14151</guid>
<pubDate>Sun, 29 Sep 2024 14:46:46 +0000</pubDate>
</item>
<item>
<title>Answered: Is edn-format.org supposed to be online?</title>
<link>https://ask.clojure.org/index.php/14116/is-edn-format-org-supposed-to-be-online?show=14117#a14117</link>
<description>&lt;p&gt;It used to redirect to the github but we think it expired and we’re still tracking down the account info.&lt;/p&gt;
</description>
<category>Docs</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/14116/is-edn-format-org-supposed-to-be-online?show=14117#a14117</guid>
<pubDate>Wed, 18 Sep 2024 12:36:37 +0000</pubDate>
</item>
<item>
<title>Answered: Dedupe doesn't mention statefullness in docstring</title>
<link>https://ask.clojure.org/index.php/13636/dedupe-doesnt-mention-statefullness-in-docstring?show=14078#a14078</link>
<description>&lt;p&gt;Logged as &lt;a rel=&quot;nofollow&quot; href=&quot;https://clojure.atlassian.net/browse/CLJ-2879&quot;&gt;https://clojure.atlassian.net/browse/CLJ-2879&lt;/a&gt;&lt;/p&gt;
</description>
<category>Docs</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/13636/dedupe-doesnt-mention-statefullness-in-docstring?show=14078#a14078</guid>
<pubDate>Wed, 21 Aug 2024 15:48:54 +0000</pubDate>
</item>
<item>
<title>Answered: Comparison ops &quot;Return non-nil if..., otherwise false&quot;</title>
<link>https://ask.clojure.org/index.php/14034/comparison-ops-return-non-nil-if-otherwise-false?show=14076#a14076</link>
<description>&lt;p&gt;Logged as &lt;a rel=&quot;nofollow&quot; href=&quot;https://clojure.atlassian.net/browse/CLJ-2877&quot;&gt;https://clojure.atlassian.net/browse/CLJ-2877&lt;/a&gt;&lt;/p&gt;
</description>
<category>Docs</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/14034/comparison-ops-return-non-nil-if-otherwise-false?show=14076#a14076</guid>
<pubDate>Wed, 21 Aug 2024 15:17:20 +0000</pubDate>
</item>
<item>
<title>Answered: Add example to namespaced maps for :_/foo functionality</title>
<link>https://ask.clojure.org/index.php/14004/add-example-to-namespaced-maps-for-foo-functionality?show=14006#a14006</link>
<description>&lt;p&gt;The reference pages by design do not contain exhaustive sets of feature examples. The goal of the example here is to demonstrate the most common usage of namespace map syntax. So, I don't think we need to add :_/foo to the example here (it would not make sense).&lt;/p&gt;
</description>
<category>Docs</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/14004/add-example-to-namespaced-maps-for-foo-functionality?show=14006#a14006</guid>
<pubDate>Wed, 03 Jul 2024 13:24:31 +0000</pubDate>
</item>
<item>
<title>Answered: Missing documentation for `:while` modifier of `for` and `doseq`</title>
<link>https://ask.clojure.org/index.php/14002/missing-documentation-for-while-modifier-of-for-and-doseq?show=14003#a14003</link>
<description>&lt;p&gt;Logged as &lt;a rel=&quot;nofollow&quot; href=&quot;https://clojure.atlassian.net/browse/CLJ-2869&quot;&gt;https://clojure.atlassian.net/browse/CLJ-2869&lt;/a&gt;&lt;/p&gt;
</description>
<category>Docs</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/14002/missing-documentation-for-while-modifier-of-for-and-doseq?show=14003#a14003</guid>
<pubDate>Mon, 01 Jul 2024 14:00:44 +0000</pubDate>
</item>
<item>
<title>Answered: Documentation on alternative radix/0-prefixed numbers</title>
<link>https://ask.clojure.org/index.php/13860/documentation-on-alternative-radix-0-prefixed-numbers?show=13861#a13861</link>
<description>&lt;p&gt;There are some docs on the reader page under &lt;a rel=&quot;nofollow&quot; href=&quot;https://clojure.org/reference/reader#_literals&quot;&gt;https://clojure.org/reference/reader#_literals&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Those examples all look right  to me.&lt;/p&gt;
</description>
<category>Docs</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/13860/documentation-on-alternative-radix-0-prefixed-numbers?show=13861#a13861</guid>
<pubDate>Tue, 30 Apr 2024 17:07:47 +0000</pubDate>
</item>
<item>
<title>Answered: Does `:exclude` need to be added to https://clojuredocs.org/clojure.core/require ?</title>
<link>https://ask.clojure.org/index.php/13714/does-exclude-need-added-https-clojuredocs-clojure-require?show=13726#a13726</link>
<description>&lt;p&gt;Logged as &lt;a rel=&quot;nofollow&quot; href=&quot;https://clojure.atlassian.net/browse/CLJ-2837&quot;&gt;https://clojure.atlassian.net/browse/CLJ-2837&lt;/a&gt;&lt;/p&gt;
</description>
<category>Docs</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/13714/does-exclude-need-added-https-clojuredocs-clojure-require?show=13726#a13726</guid>
<pubDate>Wed, 14 Feb 2024 18:04:54 +0000</pubDate>
</item>
<item>
<title>Answered: `hash-map` without arguments returns an array map, despite the docstring</title>
<link>https://ask.clojure.org/index.php/13691/hash-map-without-arguments-returns-array-despite-docstring?show=13692#a13692</link>
<description>&lt;p&gt;The point of confusion here is that &quot;persistent hash map&quot; is the abstraction here, but there are two concrete implementations: hash-map (PersistentHashMap) and array-map (PersistentArrayMap), and the latter changes type to the former based on map size.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;hash-map&lt;/code&gt; is a constructor for the abstraction of persistent hash maps (generic), and makes no promises about the returned concrete type. However &lt;code&gt;array-map&lt;/code&gt; IS (explicitly) a constructor for array-maps. There is no constructor function explicitly for PersistentHashMap.&lt;/p&gt;
</description>
<category>Docs</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/13691/hash-map-without-arguments-returns-array-despite-docstring?show=13692#a13692</guid>
<pubDate>Sun, 11 Feb 2024 21:37:48 +0000</pubDate>
</item>
<item>
<title>Typo in the release notes for 1.12.0-alpha6</title>
<link>https://ask.clojure.org/index.php/13672/typo-in-the-release-notes-for-1-12-0-alpha6</link>
<description>&lt;p&gt;This under &lt;a rel=&quot;nofollow&quot; href=&quot;https://clojure.org/news/2024/02/08/1-12-alpha6#param-tags&quot;&gt;Array Class Symbols&lt;/a&gt;&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;Clojure supporst class symbols &lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;should be&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;Clojure supports class symbols&lt;/p&gt;
&lt;/blockquote&gt;
</description>
<category>Docs</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/13672/typo-in-the-release-notes-for-1-12-0-alpha6</guid>
<pubDate>Fri, 09 Feb 2024 00:51:06 +0000</pubDate>
</item>
<item>
<title>Answered: The new add-lib etc fns do not make it clear they shell out to the CLI</title>
<link>https://ask.clojure.org/index.php/13196/the-new-add-lib-etc-fns-not-make-it-clear-they-shell-out-the-cli?show=13544#a13544</link>
<description>&lt;p&gt;Jira ticket &lt;a rel=&quot;nofollow&quot; href=&quot;https://clojure.atlassian.net/browse/CLJ-2819&quot;&gt;clj-2819&lt;/a&gt; has been created to track this issue.&lt;/p&gt;
</description>
<category>Docs</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/13196/the-new-add-lib-etc-fns-not-make-it-clear-they-shell-out-the-cli?show=13544#a13544</guid>
<pubDate>Mon, 11 Dec 2023 21:29:54 +0000</pubDate>
</item>
<item>
<title>Answered: clojure.math/scalb docstring error</title>
<link>https://ask.clojure.org/index.php/13458/clojure-math-scalb-docstring-error?show=13461#a13461</link>
<description>&lt;p&gt;Jira and patch logged at: &lt;a rel=&quot;nofollow&quot; href=&quot;https://clojure.atlassian.net/browse/CLJ-2811&quot;&gt;https://clojure.atlassian.net/browse/CLJ-2811&lt;/a&gt;&lt;/p&gt;
</description>
<category>Docs</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/13458/clojure-math-scalb-docstring-error?show=13461#a13461</guid>
<pubDate>Mon, 13 Nov 2023 17:20:45 +0000</pubDate>
</item>
<item>
<title>Answered: clojure.math/floor docstring error</title>
<link>https://ask.clojure.org/index.php/13417/clojure-math-floor-docstring-error?show=13418#a13418</link>
<description>&lt;p&gt;Yep, logged as &lt;a rel=&quot;nofollow&quot; href=&quot;https://clojure.atlassian.net/browse/CLJ-2809&quot;&gt;https://clojure.atlassian.net/browse/CLJ-2809&lt;/a&gt;&lt;/p&gt;
</description>
<category>Docs</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/13417/clojure-math-floor-docstring-error?show=13418#a13418</guid>
<pubDate>Mon, 30 Oct 2023 14:00:17 +0000</pubDate>
</item>
<item>
<title>Answered: update-vals documentation string has a typo</title>
<link>https://ask.clojure.org/index.php/13297/update-vals-documentation-string-has-a-typo?show=13299#a13299</link>
<description>&lt;p&gt;I think the docstring is correct as written. f is applied to the values of m (as it says). The map returned is a map from the original keys to the new values.&lt;/p&gt;
</description>
<category>Docs</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/13297/update-vals-documentation-string-has-a-typo?show=13299#a13299</guid>
<pubDate>Fri, 15 Sep 2023 22:25:19 +0000</pubDate>
</item>
<item>
<title>Links to EPL license are now broken</title>
<link>https://ask.clojure.org/index.php/13193/links-to-epl-license-are-now-broken</link>
<description>&lt;p&gt;Links such as &lt;a rel=&quot;nofollow&quot; href=&quot;https://github.com/clojure/clojure/blob/2a058814e5fa3e8fb630ae507c3fa7dc865138c6/test/clojure/test_clojure/protocols.clj#L3C33-L3C79&quot;&gt;https://github.com/clojure/clojure/blob/2a058814e5fa3e8fb630ae507c3fa7dc865138c6/test/clojure/test_clojure/protocols.clj#L3C33-L3C79&lt;/a&gt; direct one to a 404 page.&lt;/p&gt;
</description>
<category>Docs</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/13193/links-to-epl-license-are-now-broken</guid>
<pubDate>Wed, 23 Aug 2023 17:16:20 +0000</pubDate>
</item>
<item>
<title>Answered: Could `clojure.zip/next` docstring be misleading to some?</title>
<link>https://ask.clojure.org/index.php/10584/could-clojure-zip-next-docstring-be-misleading-to-some?show=12845#a12845</link>
<description>&lt;p&gt;&quot;returns a distinguished loc&quot; is clear: the zipper's end marker is not one of the nodes. &lt;/p&gt;
&lt;p&gt;Webster's Second Unabridged (1956) defines &quot;distinguished&quot; as &quot;distinct; differentiated&quot;.  As for a computer-science definition of &quot;distinguished value&quot;, I did not find one online, but OpenAI Chat got it right, so it must be out there somewhere:  'the term &quot;distinguished value&quot; typically refers to a specific value within a data structure or system that has a special meaning or purpose. This value is often used as a marker or sentinel to indicate the beginning or end of a certain section of data or to signal a certain condition or state. For example, in a linked list data structure, the value &quot;NULL&quot; is often used as a distinguished value to indicate the end of the list..'&lt;/p&gt;
</description>
<category>Docs</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/10584/could-clojure-zip-next-docstring-be-misleading-to-some?show=12845#a12845</guid>
<pubDate>Sat, 08 Apr 2023 13:06:35 +0000</pubDate>
</item>
<item>
<title>Answered: The `keyword` and `symbol` docstrings don't mention that using `&quot;a/b&quot;` as its only argument is valid</title>
<link>https://ask.clojure.org/index.php/12657/keyword-symbol-docstrings-mention-that-using-argument-valid?show=12711#a12711</link>
<description>&lt;p&gt;Logged as &lt;a rel=&quot;nofollow&quot; href=&quot;https://clojure.atlassian.net/browse/CLJ-2751&quot;&gt;https://clojure.atlassian.net/browse/CLJ-2751&lt;/a&gt;&lt;/p&gt;
</description>
<category>Docs</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/12657/keyword-symbol-docstrings-mention-that-using-argument-valid?show=12711#a12711</guid>
<pubDate>Wed, 01 Mar 2023 16:20:49 +0000</pubDate>
</item>
<item>
<title>Answered: Add example of clojure -Sdeps to Deps and CLI guide or reference</title>
<link>https://ask.clojure.org/index.php/12281/add-example-of-clojure-sdeps-to-deps-and-cli-guide-reference?show=12282#a12282</link>
<description>&lt;p&gt;The clojure site repo accepts PRs in case you feel like suggesting a concrete edit &lt;a rel=&quot;nofollow&quot; href=&quot;https://github.com/clojure/clojure-site/pulls&quot;&gt;https://github.com/clojure/clojure-site/pulls&lt;/a&gt;&lt;/p&gt;
</description>
<category>Docs</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/12281/add-example-of-clojure-sdeps-to-deps-and-cli-guide-reference?show=12282#a12282</guid>
<pubDate>Tue, 04 Oct 2022 21:15:26 +0000</pubDate>
</item>
<item>
<title>Answered: Document that distinct preserves ordering</title>
<link>https://ask.clojure.org/index.php/11971/document-that-distinct-preserves-ordering?show=11972#a11972</link>
<description>&lt;p&gt;I don't think we want to say more than it says. If you pass a sequence or sequential collection, then it returns a &quot;sequence of the elements&quot; - it seems natural to expect the sequential elements to be returned in the same order.&lt;/p&gt;
&lt;p&gt;On the flip side, if the coll passed to &lt;code&gt;distinct&lt;/code&gt; is unordered and not sequential (ie a map or set), this function cannot make promises about the order of the results.&lt;/p&gt;
&lt;p&gt;It is also intentionally ambiguous which equal element you will get in the result (but again, the first in a sequential coll seems like the obvious answer).&lt;/p&gt;
</description>
<category>Docs</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/11971/document-that-distinct-preserves-ordering?show=11972#a11972</guid>
<pubDate>Wed, 15 Jun 2022 18:14:26 +0000</pubDate>
</item>
<item>
<title>Answered: Documentation for `rationalize` is misleading</title>
<link>https://ask.clojure.org/index.php/11717/documentation-for-rationalize-is-misleading?show=11745#a11745</link>
<description>&lt;p&gt;Logged as &lt;a rel=&quot;nofollow&quot; href=&quot;https://clojure.atlassian.net/browse/CLJ-2703&quot;&gt;https://clojure.atlassian.net/browse/CLJ-2703&lt;/a&gt;&lt;/p&gt;
</description>
<category>Docs</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/11717/documentation-for-rationalize-is-misleading?show=11745#a11745</guid>
<pubDate>Wed, 06 Apr 2022 16:10:08 +0000</pubDate>
</item>
<item>
<title>Answered: doall docstring</title>
<link>https://ask.clojure.org/index.php/11420/doall-docstring?show=11422#a11422</link>
<description>&lt;p&gt;I'm either not understanding the doc string, or it needs to be substantially changed:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;When lazy sequences are produced via functions that have side&lt;br&gt;
  effects, any effects other than those needed to produce the first&lt;br&gt;
  element in the seq do not occur until the seq is consumed. doall can&lt;br&gt;
  be used to force any effects. Walks through the successive nexts of&lt;br&gt;
  the seq, retains the head and returns it, thus causing the entire&lt;br&gt;
  seq to reside in memory at one time.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;pre&gt;&lt;code&gt;(ins)user=&amp;gt; (defn printed-range [n] (map print (range n)))
#'user/printed-range
(ins)user=&amp;gt; (let [x (printed-range 10)] nil)
nil
(ins)user=&amp;gt; (let [x (printed-range 10)] (first x))
0123456789nil
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;the doc seems to say that the first element will b realized, but only elements that are accessed are guaranteed to  be realized&lt;/p&gt;
</description>
<category>Docs</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/11420/doall-docstring?show=11422#a11422</guid>
<pubDate>Mon, 27 Dec 2021 23:34:08 +0000</pubDate>
</item>
<item>
<title>Answered: Invoke Clojure with an argument</title>
<link>https://ask.clojure.org/index.php/11417/invoke-clojure-with-an-argument?show=11418#a11418</link>
<description>&lt;pre&gt;&lt;code&gt;clojure -J--illegal-access=debug

clojure -J--illegal-access=debug -M -e '*clojure-version*'
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The &lt;code&gt;-J&lt;/code&gt; option is used to pass arguments to the JVM when the Clojure CLI runs.&lt;/p&gt;
</description>
<category>Docs</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/11417/invoke-clojure-with-an-argument?show=11418#a11418</guid>
<pubDate>Mon, 27 Dec 2021 01:07:37 +0000</pubDate>
</item>
<item>
<title>Answered: Typo in https://clojure.org/guides/tools_build</title>
<link>https://ask.clojure.org/index.php/11350/typo-in-https-clojure-org-guides-toolsbuild?show=11352#a11352</link>
<description>&lt;p&gt;Given that the main ns is specific to the project, I wonder if it would be better to have:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;(def main-ns 'my.lib.main)
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;at the top (after &lt;code&gt;lib&lt;/code&gt;, say) and then use that var in the call to &lt;code&gt;uber&lt;/code&gt;?&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;(b/uber {:class-dir class-dir
         :uber-file uber-file
         :basis     basis
         :main      main-ns})
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Then it might be worth showing an alternative call to &lt;code&gt;compile-clj&lt;/code&gt; that just compiles that main ns instead of implicitly compiling &quot;all&quot; -- and show that &lt;code&gt;:src-dirs&lt;/code&gt; can be &lt;code&gt;[]&lt;/code&gt; when &lt;code&gt;:ns-compile [main-ns]&lt;/code&gt; is provided?&lt;/p&gt;
</description>
<category>Docs</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/11350/typo-in-https-clojure-org-guides-toolsbuild?show=11352#a11352</guid>
<pubDate>Sat, 04 Dec 2021 22:21:29 +0000</pubDate>
</item>
<item>
<title>Answered: requesting change to doc string in (doc take-while)</title>
<link>https://ask.clojure.org/index.php/11258/requesting-change-to-doc-string-in-doc-take-while?show=11259#a11259</link>
<description>&lt;p&gt;Hi, thanks for the suggestion, but I don't think we will change this.&lt;/p&gt;
&lt;p&gt;&quot;while (pred item) returns logical true&quot; is sufficient - &quot;while&quot; means &quot;during the time when the condition holds&quot; (and not when it doesn't).  &quot;I sing while I'm in the shower&quot; does not need to also say &quot;and stop singing when I get out of the shower&quot;.&lt;/p&gt;
&lt;p&gt;Clojure core docstrings are intentionally very economical in their language. They are of course imperfect and nearly every release of Clojure has docstring updates, so we're open to changing them where that makes sense, but I don't think that's the case here.&lt;/p&gt;
&lt;p&gt;Many beginners need additional information and we have great ancillary resources like &lt;a rel=&quot;nofollow&quot; href=&quot;https://clojuredocs.org/clojure.core/take-while&quot;&gt;https://clojuredocs.org/clojure.core/take-while&lt;/a&gt; where Clojure users can provide examples, additional commentary, links, etc to supplement the core docstring. The Clojure cheatsheet (&lt;a rel=&quot;nofollow&quot; href=&quot;https://clojure.org/api/cheatsheet&quot;&gt;https://clojure.org/api/cheatsheet&lt;/a&gt;) provides links into ClojureDocs as well.&lt;/p&gt;
</description>
<category>Docs</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/11258/requesting-change-to-doc-string-in-doc-take-while?show=11259#a11259</guid>
<pubDate>Tue, 09 Nov 2021 21:25:13 +0000</pubDate>
</item>
<item>
<title>Answered: clojure.java.api documentation mistaken example</title>
<link>https://ask.clojure.org/index.php/11180/clojure-java-api-documentation-mistaken-example?show=11216#a11216</link>
<description>&lt;p&gt;Logged as &lt;a rel=&quot;nofollow&quot; href=&quot;https://clojure.atlassian.net/browse/CLJ-2666&quot;&gt;https://clojure.atlassian.net/browse/CLJ-2666&lt;/a&gt;&lt;/p&gt;
</description>
<category>Docs</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/11180/clojure-java-api-documentation-mistaken-example?show=11216#a11216</guid>
<pubDate>Wed, 27 Oct 2021 19:12:36 +0000</pubDate>
</item>
<item>
<title>Answered: Docstring for `=` could be made less ambiguous w.r.t. numbers</title>
<link>https://ask.clojure.org/index.php/10992/docstring-for-could-be-made-less-ambiguous-w-r-t-numbers?show=11175#a11175</link>
<description>&lt;p&gt;I do not know the Clojure maintainer's views on this idea, but an approach that would make the details easier to find for many people, without significantly increasing the length of the compiled-into-the-Clojure-image doc string, would be to add a sentence like &quot;For additional details, see &lt;a rel=&quot;nofollow&quot; href=&quot;https://clojure.org/guides/equality&quot;&gt;https://clojure.org/guides/equality&lt;/a&gt;&quot; in the doc string.&lt;/p&gt;
</description>
<category>Docs</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/10992/docstring-for-could-be-made-less-ambiguous-w-r-t-numbers?show=11175#a11175</guid>
<pubDate>Sun, 17 Oct 2021 13:23:54 +0000</pubDate>
</item>
<item>
<title>Answered: What do the metalanguage-style symbols on clojuredocs.org mean?</title>
<link>https://ask.clojure.org/index.php/10707/what-do-the-metalanguage-style-symbols-clojuredocs-org-mean?show=10711#a10711</link>
<description>&lt;p&gt;You may find this useful:&lt;/p&gt;
&lt;p&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://clojure.org/guides/weird_characters&quot;&gt;https://clojure.org/guides/weird_characters&lt;/a&gt;&lt;/p&gt;
</description>
<category>Docs</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/10707/what-do-the-metalanguage-style-symbols-clojuredocs-org-mean?show=10711#a10711</guid>
<pubDate>Sat, 19 Jun 2021 20:06:41 +0000</pubDate>
</item>
<item>
<title>Answered: Add warning about not using the ret-val of `assoc!` to the doc string</title>
<link>https://ask.clojure.org/index.php/10521/add-warning-about-not-using-the-ret-val-of-assoc-the-doc-string?show=10522#a10522</link>
<description>&lt;p&gt;This is logged already as &lt;a rel=&quot;nofollow&quot; href=&quot;https://clojure.atlassian.net/browse/CLJ-1385&quot;&gt;https://clojure.atlassian.net/browse/CLJ-1385&lt;/a&gt; (I think it was waiting on me for a better message iirc).&lt;/p&gt;
</description>
<category>Docs</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/10521/add-warning-about-not-using-the-ret-val-of-assoc-the-doc-string?show=10522#a10522</guid>
<pubDate>Fri, 23 Apr 2021 21:55:59 +0000</pubDate>
</item>
<item>
<title>Answered: Which argument is which, for bit-shift-left and bit-shift-right?</title>
<link>https://ask.clojure.org/index.php/10130/which-argument-is-which-for-bit-shift-left-and-bit-shift-right?show=10180#a10180</link>
<description>&lt;p&gt;Filed jira: &lt;a rel=&quot;nofollow&quot; href=&quot;https://clojure.atlassian.net/browse/CLJ-2608&quot;&gt;https://clojure.atlassian.net/browse/CLJ-2608&lt;/a&gt;&lt;/p&gt;
</description>
<category>Docs</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/10130/which-argument-is-which-for-bit-shift-left-and-bit-shift-right?show=10180#a10180</guid>
<pubDate>Fri, 12 Feb 2021 16:43:05 +0000</pubDate>
</item>
<item>
<title>Answered: Typo in Getting Started: /etc/man_dev.conf ➡ /etc/man_db.conf</title>
<link>https://ask.clojure.org/index.php/10132/typo-in-getting-started-etc-mandev-conf-etc-mandb-conf?show=10133#a10133</link>
<description>&lt;p&gt;Hi, the best place to file web site issues/PRs is here: &lt;a rel=&quot;nofollow&quot; href=&quot;https://github.com/clojure/clojure-site/issues&quot;&gt;https://github.com/clojure/clojure-site/issues&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
</description>
<category>Docs</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/10132/typo-in-getting-started-etc-mandev-conf-etc-mandb-conf?show=10133#a10133</guid>
<pubDate>Mon, 01 Feb 2021 04:15:31 +0000</pubDate>
</item>
<item>
<title>Answered: Is &quot;port&quot; inside core.asyn documentation same as a &quot;chan&quot;?</title>
<link>https://ask.clojure.org/index.php/9987/is-port-inside-core-asyn-documentation-same-as-a-chan?show=9988#a9988</link>
<description>&lt;p&gt;A port is the read or write end of a chan. So you can think of most channel instances as having both a read and write port on both ends. In some cases the api may actually give you only a read or write port impl though and not a full chan.&lt;/p&gt;
&lt;p&gt;The read and write port protocols are defined at &lt;br&gt;
&lt;a rel=&quot;nofollow&quot; href=&quot;https://github.com/clojure/core.async/blob/master/src/main/clojure/clojure/core/async/impl/protocols.clj#L15&quot;&gt;https://github.com/clojure/core.async/blob/master/src/main/clojure/clojure/core/async/impl/protocols.clj#L15&lt;/a&gt;.&lt;/p&gt;
</description>
<category>Docs</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/9987/is-port-inside-core-asyn-documentation-same-as-a-chan?show=9988#a9988</guid>
<pubDate>Wed, 30 Dec 2020 15:48:01 +0000</pubDate>
</item>
<item>
<title>Answered: Document how extend-type can be used to provide default protocol implementation</title>
<link>https://ask.clojure.org/index.php/9950/document-extend-provide-default-protocol-implementation?show=9960#a9960</link>
<description>&lt;p&gt;Logged improvement request as &lt;a rel=&quot;nofollow&quot; href=&quot;https://clojure.atlassian.net/browse/CLJ-2595&quot;&gt;https://clojure.atlassian.net/browse/CLJ-2595&lt;/a&gt;&lt;/p&gt;
</description>
<category>Docs</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/9950/document-extend-provide-default-protocol-implementation?show=9960#a9960</guid>
<pubDate>Tue, 22 Dec 2020 15:29:08 +0000</pubDate>
</item>
<item>
<title>Answered: CLI/deps reference use of :aliases is confusing in a couple of places</title>
<link>https://ask.clojure.org/index.php/9919/cli-deps-reference-use-of-aliases-is-confusing-couple-places?show=9920#a9920</link>
<description>&lt;p&gt;Seems reasonable. That's actually pulled from &lt;code&gt;clj -h&lt;/code&gt; though so need to consider how to sync those up. clj man page uses slightly different syntax like &lt;code&gt;-X[:alias...]&lt;/code&gt;.&lt;/p&gt;
</description>
<category>Docs</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/9919/cli-deps-reference-use-of-aliases-is-confusing-couple-places?show=9920#a9920</guid>
<pubDate>Tue, 08 Dec 2020 15:58:56 +0000</pubDate>
</item>
<item>
<title>Answered: Is it legal to apply keys / vals to a sequence of map entries?</title>
<link>https://ask.clojure.org/index.php/9838/is-it-legal-to-apply-keys-vals-to-a-sequence-of-map-entries?show=9840#a9840</link>
<description>&lt;p&gt;Yes, this is legal and you can rely on it. &lt;/p&gt;
&lt;p&gt;I also logged a ticket to either update the docstring or even make this more explicit in the types:&lt;/p&gt;
&lt;p&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://clojure.atlassian.net/browse/CLJ-2592&quot;&gt;https://clojure.atlassian.net/browse/CLJ-2592&lt;/a&gt;&lt;/p&gt;
</description>
<category>Docs</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/9838/is-it-legal-to-apply-keys-vals-to-a-sequence-of-map-entries?show=9840#a9840</guid>
<pubDate>Sun, 22 Nov 2020 18:19:45 +0000</pubDate>
</item>
<item>
<title>Answered: doc string for reify is missing a statement of what it does</title>
<link>https://ask.clojure.org/index.php/9812/doc-string-for-reify-is-missing-a-statement-of-what-it-does?show=9814#a9814</link>
<description>&lt;p&gt;Logged as &lt;a rel=&quot;nofollow&quot; href=&quot;https://clojure.atlassian.net/browse/CLJ-2591&quot;&gt;https://clojure.atlassian.net/browse/CLJ-2591&lt;/a&gt;&lt;/p&gt;
</description>
<category>Docs</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/9812/doc-string-for-reify-is-missing-a-statement-of-what-it-does?show=9814#a9814</guid>
<pubDate>Mon, 16 Nov 2020 15:34:28 +0000</pubDate>
</item>
<item>
<title>Clojure Generation PDF blockchain</title>
<link>https://ask.clojure.org/index.php/9513/clojure-generation-pdf-blockchain</link>
<description>&lt;p&gt;Hi guys, I'm going to start developing a project and I want you to recommend some technologies that I can use and be useful for my project.&lt;/p&gt;
&lt;p&gt;Currently I have a system that generates PDF documents, but these documents do not have any type of security, what I want is: Generate PDF documents using blockchain and create a transactional query application for the generated documents&lt;/p&gt;
&lt;p&gt;Can someone make a recommendation to start my project?&lt;/p&gt;
&lt;p&gt;Thank you.!&lt;/p&gt;
</description>
<category>Docs</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/9513/clojure-generation-pdf-blockchain</guid>
<pubDate>Mon, 27 Jul 2020 23:41:31 +0000</pubDate>
</item>
<item>
<title>What is the big O for clojure operations?</title>
<link>https://ask.clojure.org/index.php/9468/what-is-the-big-o-for-clojure-operations</link>
<description>&lt;p&gt;Hi, I'm new to clojure.&lt;/p&gt;
&lt;p&gt;I have seen that there are some big O on the data structures part. But, is there a place on documentation showing all the big O of the operations in clojure?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
</description>
<category>Docs</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/9468/what-is-the-big-o-for-clojure-operations</guid>
<pubDate>Wed, 15 Jul 2020 18:49:21 +0000</pubDate>
</item>
<item>
<title>How to see related functions in cider doc?</title>
<link>https://ask.clojure.org/index.php/9236/how-to-see-related-functions-in-cider-doc</link>
<description>&lt;p&gt;When using Cider, C-c C-d C-d shows the doc for a given functions. There should be a &quot;See also&quot; section at the bottom of the doc, listing related functions(e.g. &quot;doseq&quot; refers to &quot;for&quot;). However it's gone somehow. Did I accidentally turned it off or something? How do I get it back?&lt;/p&gt;
&lt;p&gt;And by the way, where did that &quot;related functions&quot; information come from? It's not written in the doc string...&lt;/p&gt;
</description>
<category>Docs</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/9236/how-to-see-related-functions-in-cider-doc</guid>
<pubDate>Tue, 14 Apr 2020 04:19:35 +0000</pubDate>
</item>
<item>
<title>Should (doc get) 'format/example' refer to the 'associative' abstraction rather than a 'map'?</title>
<link>https://ask.clojure.org/index.php/8956/should-format-example-refer-associative-abstraction-rather</link>
<description>&lt;p&gt;(doc get) returns&lt;br&gt;
&quot;-------------------------&lt;br&gt;
clojure.core/get&lt;br&gt;
([map key] [map key not-found])&lt;br&gt;
  Returns the value mapped to key, not-found or nil if key not present.&quot;&lt;/p&gt;
&lt;p&gt;As 'get' works for a vector, as well as a map, I think the function addresses the associative abstraction, so this format would be less misleading:&lt;/p&gt;
&lt;p&gt;([associative key] [associative key not-found])&lt;/p&gt;
&lt;p&gt;Thanks to the experts at ClojureVerse who confirmed that my confusion at the example was justified and suggested I report it here.&lt;/p&gt;
</description>
<category>Docs</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/8956/should-format-example-refer-associative-abstraction-rather</guid>
<pubDate>Fri, 20 Dec 2019 15:20:12 +0000</pubDate>
</item>
<item>
<title>Make clojure.core/get docstring more like clojure.core/get-in?</title>
<link>https://ask.clojure.org/index.php/8910/make-clojure-core-get-docstring-more-like-clojure-core-get-in</link>
<description>&lt;p&gt;The docstring for &lt;code&gt;get&lt;/code&gt; is:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;Returns the value mapped to key, not-found or nil if key not present.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Multiple people at my work have found that sentence confusingly terse and hard to parse.&lt;/p&gt;
&lt;p&gt;The docstring for &lt;code&gt;get-in&lt;/code&gt; is:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;Returns the value in a nested associative structure, where ks is a sequence of keys. Returns nil if the key is not present, or the not-found value if supplied.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Could the docstring for &lt;code&gt;get&lt;/code&gt; be changed to:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;Returns the value mapped to key. Returns nil if the key is not present, or the not-found value if supplied.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Logged and patch attached at: &lt;a rel=&quot;nofollow&quot; href=&quot;https://clojure.atlassian.net/browse/CLJ-2544&quot;&gt;https://clojure.atlassian.net/browse/CLJ-2544&lt;/a&gt;&lt;/p&gt;
</description>
<category>Docs</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/8910/make-clojure-core-get-docstring-more-like-clojure-core-get-in</guid>
<pubDate>Wed, 27 Nov 2019 14:41:18 +0000</pubDate>
</item>
<item>
<title>Migration from Closure to Python 3</title>
<link>https://ask.clojure.org/index.php/8853/migration-from-closure-to-python-3</link>
<description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I would like to see if it is possible to migrate Closure code to Python.&lt;br&gt;
Is-it possible?  Do we have some scripts available to help for this?&lt;/p&gt;
&lt;p&gt;I'm Python coder but don't have any expertise within Closure.&lt;/p&gt;
&lt;p&gt;Can you help me?&lt;br&gt;
Thanks in advance for your answers&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br&gt;
Raoul&lt;/p&gt;
</description>
<category>Docs</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/8853/migration-from-closure-to-python-3</guid>
<pubDate>Wed, 13 Nov 2019 04:15:39 +0000</pubDate>
</item>
<item>
<title>Doc strings for spit and clojure.java.io/writer mention but do not explain opts</title>
<link>https://ask.clojure.org/index.php/3771/doc-strings-for-spit-clojure-java-writer-mention-explain-opts</link>
<description>&lt;p&gt;I was trying to point my users at the reference documentation for spit to help them understand how they could customize output, and found that the options like &lt;code&gt;:append true&lt;/code&gt; are not documented. Even if they are resourceful enough to figure out how to get to the docstring for clojure.java.io/writer itself, the options are not documented there either. I would basically need to teach them how to open a repl to explore the source code, or find it on GitHub, in order to figure this stuff out. Since they are generally not software developers, but musicians or their lighting/visuals staff trying to use a tiny bit of Clojure code to glue together shows, it would be nice if this information was easier to surface.&lt;/p&gt;
&lt;p&gt;Some of this information can be found by scrolling down into examples on clojuredocs.org, but it would seem nice to have a definitive list of the options supported in the doc strings themselves.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Patch:&lt;/strong&gt; clj-2500.patch&lt;/p&gt;
</description>
<category>Docs</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/3771/doc-strings-for-spit-clojure-java-writer-mention-explain-opts</guid>
<pubDate>Mon, 01 Apr 2019 19:42:55 +0000</pubDate>
</item>
</channel>
</rss>