Welcome! Please see the About page for a little more info on how this works.
Came across this conversation in the Slack-archive:
jkr.sw: I usually define something like (defn spy> [x] (doto x tap>)) alexmiller: Having tap> 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 alexmiller: Or adding spy> or something
jkr.sw: I usually define something like (defn spy> [x] (doto x tap>))
(defn spy> [x] (doto x tap>))
alexmiller: Having tap> 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
alexmiller: Or adding spy> or something
It seems the ticket was never created so putting it here.
JIRA: https://clojure.atlassian.net/browse/CLJ-2538
We are planning to add a tap-> that does this. jira link added to question.
tap->