> > When you call (send-off the-agent the-function), "the-function" gets > called with a single argument (which is the current value of the > agent). That is why log-dumper has an argument. Of course, > log-dumper does not use its argument, but it must still be there. > Perhaps it should have been called "dummy". >
I think the most common Clojure convention for "dummy" names it to use a single underscore "_". Various linting tools support this convention and e.g. won't warn about an unused function parameter if it is called "_". -- 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