In a situation where you want to understand values flowing through some point in your system, you might use println or logging to understand what is flowing.
What are the problems with println/logging? - both: about strings, not values - both: hard-wires the putting of the value to where the value goes (log f/ws have some flexibility there) - logging: requires you to add logging crap to your requires and deps - println: hard-wires where things go to a stream that's difficult to rebind in a global way tap is a means to convey values (not strings) via a queue (see: Language of the System) where you can dynamically choose to attach and detach handler(s) to tell it to put values wherever you want (a log, a metric, println) - but those are decoupled from where you convey the values. tap> is in core so it's as easy to add to your code as println. On Wednesday, October 10, 2018 at 8:29:08 AM UTC-5, Bozhidar Batsov wrote: > > Same here. > > On Tue, 9 Oct 2018 at 17:32, Colin Fleming <colin.mailingl...@gmail.com> > wrote: > >> I’m not sure a guide is needed for tap - the functions are pretty simple? >>> >> >> Personally, I understand the mechanics, but I have no idea how they're >> intended to be used. I'd love to see some examples of what they're designed >> to do. >> >> On Sat, 6 Oct 2018 at 12:17, Alex Miller <a...@puredanger.com> wrote: >> >>> >>> > On Oct 6, 2018, at 3:53 AM, Mike <145...@gmail.com> wrote: >>> > >>> > Cool! Will there be more guides how to use tap and prepl ? >>> >>> I’m not sure a guide is needed for tap - the functions are pretty >>> simple? I’ll think about it. >>> >>> prepl is designed for tool makers so is probably a limited audience and >>> not really a good target for a guide. The docstrings have a lot more detail >>> and may lead to some updated reference material. >>> >>> > Is there any plans to release clj for windows? >>> >>> Yes, but I can’t give you a timeframe. Significant work has been done. >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Clojure" group. >>> To post to this group, send email to clojure@googlegroups.com >>> Note that posts from new members are moderated - please be patient with >>> your first post. >>> To unsubscribe from this group, send email to >>> clojure+unsubscr...@googlegroups.com >>> For more options, visit this group at >>> http://groups.google.com/group/clojure?hl=en >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "Clojure" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to clojure+unsubscr...@googlegroups.com. >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- >> You received this message because you are subscribed to the Google >> Groups "Clojure" group. >> To post to this group, send email to clojure@googlegroups.com >> Note that posts from new members are moderated - please be patient with >> your first post. >> To unsubscribe from this group, send email to >> clojure+unsubscr...@googlegroups.com >> For more options, visit this group at >> http://groups.google.com/group/clojure?hl=en >> --- >> You received this message because you are subscribed to the Google Groups >> "Clojure" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to clojure+unsubscr...@googlegroups.com. >> For more options, visit https://groups.google.com/d/optout. >> > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.