<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Clojure Q&amp;A - Recent questions tagged tap</title>
<link>https://ask.clojure.org/index.php/tag/tap</link>
<description></description>
<item>
<title>Can we have a variant of tap&gt; that yields the passed value?</title>
<link>https://ask.clojure.org/index.php/8749/can-we-have-a-variant-of-tap-that-yields-the-passed-value</link>
<description>&lt;p&gt;Came across this conversation in the &lt;a rel=&quot;nofollow&quot; href=&quot;https://clojurians.zulipchat.com/#narrow/stream/180378-slack-archive/topic/clojure/near/157421217&quot;&gt;Slack-archive&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;&lt;strong&gt;jkr.sw:&lt;/strong&gt; I usually define something like &lt;code&gt;(defn spy&amp;gt; [x] (doto x tap&amp;gt;))&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;alexmiller&lt;/strong&gt;: Having tap&amp;gt; return the val is a pretty good idea - if you write up a CLJ jira for it, that would remind me to talk to Rich about it&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;alexmiller&lt;/strong&gt;: Or adding spy&amp;gt; or something&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;It seems the ticket was never created so putting it here.&lt;/p&gt;
&lt;p&gt;JIRA: &lt;a rel=&quot;nofollow&quot; href=&quot;https://clojure.atlassian.net/browse/CLJ-2538&quot;&gt;https://clojure.atlassian.net/browse/CLJ-2538&lt;/a&gt;&lt;/p&gt;
</description>
<category>Clojure</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/8749/can-we-have-a-variant-of-tap-that-yields-the-passed-value</guid>
<pubDate>Tue, 22 Oct 2019 21:26:18 +0000</pubDate>
</item>
</channel>
</rss>