Does the Clojure REPL provide a handle for getting the value returned by the last executed statement? In Ruby's REPL, the underscore gives you the last returned value. In Clojure, I'd love to do something like this:
(some-expensive-or-rate-limited-call "example.com") (def cache-after-the-fact _) I've wanted this for a while, but until today it's been to save keystrokes. However, I just made an API call that is rate limited to once every 5 minutes and didn't store the result in a var. And now I'd love this functionality so I don't have to wait around for 5 minutes to make the call again. Any thoughts on how to do this? David -- 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